workflow.graph.hasnode.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/workflow > Graph > hasNode
Graph.hasNode() method
Determines if the graph contains a node by id
Signature:
hasNode(id: NodeId): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| id | NodeId | The node id |
Returns:
boolean