Index | Collapse All Expand All

IndexOf Method
TreeNodeList Class Members See Also

Beta Documentation - Subject to change.
Gets the index of a tree node in the list.

# Syntax

Lua
    function TreeNodeList:IndexOf(node);

#### Parameters

node
  Type: TreeNode
  The node to get the index of.

#### Returns

Type: number
The 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.

# See Also

- TreeNodeList
- Turbine.UI