Skip to content

five-on-it / packages/sim/src/hold-kinds / isHold

Function: isHold() ​

isHold(kind): kind is "work" | "plant" | "pick" | "defuse" | "hackDevice" | "cutPower" | "restorePower" | "repair" | "crack" | "restrain" | "free" | "drag" | "stash"

Defined in: packages/sim/src/hold-kinds.ts:71

Whether an interaction is one done by holding the key.

Parameters ​

kind ​

string

Returns ​

kind is "work" | "plant" | "pick" | "defuse" | "hackDevice" | "cutPower" | "restorePower" | "repair" | "crack" | "restrain" | "free" | "drag" | "stash"