Type Default Value Read Only Description
bool false Yes Nodes in a tree may be root, intermediate or leaf.

 

   

Notes
 

Nodes in a tree may be root, intermediate or leaf.

This property indicates if the node is a leaf node or not.

We can know this because a leaf node does not have a "Kids" entry and is not a root node.

IsLeaf indicates whether this node is a leaf node of the tree, meaning it holds key-value pairs directly rather than references to child nodes. Leaf nodes carry Names or Nums entries depending on the tree type.

 

   

Example
 
None.