indexOf()
Returns the index position (0-based) of the specified object in this list.
indexOf(item: T): number;
Notes
- If the object isn’t found in the list, this method returns -1.
Parameters
- item — The object to look for
Related
class ObservableList
A data structure that contains an ordered set of observable objects.
