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

Function isUserScriptCommand

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

Source from the content-addressed store, hash-verified

81}
82
83function isUserScriptCommand(command: unknown): command is IUserScript {
84 return hasCommandType(command, CommandType.UserScript);
85}
86
87function isChoiceCommand(command: unknown): command is IChoiceCommand {
88 return hasCommandType(command, CommandType.Choice);

Callers 1

executeCommandsMethod · 0.85

Calls 1

hasCommandTypeFunction · 0.85

Tested by

no test coverage detected