A type guard to check if the given value is a Command.
Useful for type narrowing when working with the Command object.
The value to check.
true if the value is a Command, false otherwise.
true
false
A type guard to check if the given value is a Command.
Useful for type narrowing when working with the Command object.