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

Function isObsidianCommand

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

Source from the content-addressed store, hash-verified

77}
78
79function isObsidianCommand(command: unknown): command is IObsidianCommand {
80 return hasCommandType(command, CommandType.Obsidian);
81}
82
83function isUserScriptCommand(command: unknown): command is IUserScript {
84 return hasCommandType(command, CommandType.UserScript);

Callers 1

executeCommandsMethod · 0.85

Calls 1

hasCommandTypeFunction · 0.85

Tested by

no test coverage detected