MCPcopy Create free account
hub / github.com/chhoumann/quickadd / isChoiceCommand

Function isChoiceCommand

src/engine/MacroChoiceEngine.ts:87–89  ·  view source on GitHub ↗
(command: unknown)

Source from the content-addressed store, hash-verified

85}
86
87function isChoiceCommand(command: unknown): command is IChoiceCommand {
88 return hasCommandType(command, CommandType.Choice);
89}
90
91function isWaitCommand(command: unknown): command is IWaitCommand {
92 return hasCommandType(command, CommandType.Wait);

Callers 1

executeCommandsMethod · 0.85

Calls 1

hasCommandTypeFunction · 0.85

Tested by

no test coverage detected