Package version:
Determines if the given output is of the specified type.
The type to check against, which extends one of the possible output parent types.
The action to check, which can be of type RequiredAction, RequiredToolCall, or ToolDefinitionUnion.
RequiredAction
RequiredToolCall
ToolDefinitionUnion
The type to check the action against.
A boolean indicating whether the action is of the specified type.
Determines if the given output is of the specified type.