Syntax
Lua |
---|
function TreeNodeList:IndexOf(node); |
Parameters
- node
-
Type:
TreeNode
The node to get the index of.
Returns
Type: numberThe index of the node in the list or -1 if it does not exist in the list.
Remarks
Gets the index of a tree node in the list.