Skip to content
ConcordConcordConcord

List:indexOf

Returns the index of an object in the List.

← List

Returns the index of an object in the List.

Errors if the object is not in the List.

index = list:indexOf( obj )
Name Type Description
obj any Object to get index of
Name Type Description
index integer Index of the object in the List.