Skip to content
On this page

TreeNode<T>.isEqual

checks if the node is equal to another node.

Parameters

nodeTreeNode<T>: The node to check.

Returns

boolean

True if the nodes are equal, false otherwise.