Model:getNodeChildren
EditGiven a parent node, this function returns a table with the indices of its children.
children = Model:getNodeChildren(node)Arguments
| Name | Type | Description |
| node | string | number | The name or index of the parent node. |
Returns
| Name | Type | Description |
| children | {number} | A table containing the node index of each child of the parent node. |
Notes
If the node does not have any children, this function returns an empty table.