• A type guard to check if the given value is a Command.

    Useful for type narrowing when working with the Command object.

    Parameters

    • x: unknown

      The value to check.

    Returns x is Command<unknown>

    true if the value is a Command, false otherwise.