Model:getNodeChildren

Edit

Given a parent node, this function returns a table with the indices of its children.

children = Model:getNodeChildren(node)

Arguments

NameTypeDescription
nodestring | number The name or index of the parent node.

Returns

NameTypeDescription
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.

See also