List:indexOf
Returns the index of an object in the List.
Returns the index of an object in the List.
Errors if the object is not in the List.
index = list:indexOf( obj )Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
obj |
any | Object to get index of |
Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
index |
integer | Index of the object in the List. |