Skip to content

Tree.getNodeId method

Tree › getNodeId

Unofficial

Gets the ID of a tree item given its Node.

Signature:

getNodeId(node: T): string | undefined

Parameters:

Parameter Type Description
node T The tree item to get the ID for.

Returns: string | undefinedThe node ID, or undefined if not found.