langchain.js
    Preparing search index...
    • 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, Record<string, unknown>, string>

      true if the value is a Command, false otherwise.