graphtransliterator-ts


graphtransliterator-ts / hasNode

Function: hasNode()

hasNode<T, N, E>(graph, id): boolean

Defined in: Graphs.ts:141

Validates the existence of a custom structural vertex point.

Type Parameters

T

T

N

N

E

E

Parameters

graph

DirectedGraph<T, N, E>

id

number

Returns

boolean