( graph: Graph<N, E, T> | MutableGraph<N, E, T>, nodeIndex: NodeIndex )
| 525 | * @category getters |
| 526 | */ |
| 527 | export const hasNode = <N, E, T extends Kind = "directed">( |
| 528 | graph: Graph<N, E, T> | MutableGraph<N, E, T>, |
| 529 | nodeIndex: NodeIndex |
| 530 | ): boolean => graph.nodes.has(nodeIndex) |
| 531 | |
| 532 | /** |
| 533 | * Returns the number of nodes in the graph. |
no outgoing calls
no test coverage detected