[**graphtransliterator-ts**](../README.md) *** [graphtransliterator-ts](../README.md) / hasNode # Function: hasNode() > **hasNode**\<`T`, `N`, `E`\>(`graph`, `id`): `boolean` Defined in: [Graphs.ts:141](https://github.com/seanpue/graphtransliterator/blob/83f4eb8e6b7957664bb77a2ded02cf6a46ce9fff/packages/graphtransliterator-ts/src/Graphs.ts#L141) Validates the existence of a custom structural vertex point. ## Type Parameters ### T `T` ### N `N` ### E `E` ## Parameters ### graph [`DirectedGraph`](../interfaces/DirectedGraph.md)\<`T`, `N`, `E`\> ### id `number` ## Returns `boolean`