ModelData:getNodeChild
EditGiven a parent node, this function returns the index of its first child, or nil if it doesn't have any children.
This, together with ModelData:getNodeSibling, can be used to iterate the tree of nodes in a model.
child = ModelData:getNodeChild(node)Arguments
| Name | Type | Description |
| node | string | number | The name or index of the parent node. |
Returns
| Name | Type | Description |
| child | number | nil |
The index of the node's first child, or nil if the node doesn't have any children.
|