Skip to content

Commit

Permalink
Remove unused isINodeType method
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegIvaniv committed Sep 5, 2024
1 parent 452a7a0 commit f1c1c4c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/workflow/src/NodeHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,13 +352,6 @@ const declarativeNodeOptionParameters: INodeProperties = {
],
};

/**
* Determines if the node is of INodeType
*/
export function isINodeType(obj: unknown): obj is INodeType {
return typeof obj === 'object' && obj !== null && 'execute' in obj;
}

/**
* Modifies the description of the passed in object, such that it can be used
* as an AI Agent Tool.
Expand Down

0 comments on commit f1c1c4c

Please sign in to comment.