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>| Name | Type | Description |
|---|---|---|
x* | unknown | The value to check. |