Ask a question to get started
Enter to send•Shift+Enter new line
A type guard to check if the given value is a Command.
Useful for type narrowing when working with the Command object.
isCommand(x: unknown): x is Command<unknown, Record<string, unknown>, string>
x
unknown
The value to check.