rustworkx.PyGraph.has_node#
- PyGraph.has_node(node, /)#
Return True if there is a node.
- Parameters:
node (int) – The index for the node
- Returns:
True if there is a node false if there is no node
- Return type:
bool
Return True if there is a node.
node (int) – The index for the node
True if there is a node false if there is no node
bool