langchain.js
    Preparing search index...

    Function isRunnableToolLike

    • Confirm whether the inputted tool is an instance of RunnableToolLike.

      Parameters

      • Optionaltool: unknown

        The tool to check if it is an instance of RunnableToolLike.

      Returns tool is RunnableToolLike<InteropZodType, unknown>

      Whether the inputted tool is an instance of RunnableToolLike.