workflow.defaultgraph.hasnode.md

February 13, 2024 ยท View on GitHub

Home > @datashaper/workflow > DefaultGraph > hasNode

DefaultGraph.hasNode() method

Check if the graph has a node with the given ID

Signature:

hasNode(id: NodeId): boolean;

Parameters

ParameterTypeDescription
idNodeIdThe node ID to check

Returns:

boolean

Whether the graph has a node with the given ID

Contents

  1. 1DefaultGraph.hasNode() method
  2. 2Parameters