HierarchyNode.childCount Property

Gets the number of children in this instance.
 

Property Value

Type: Number (Integer)
The number of children.