indexOf

open fun indexOf(item: T): Int(source)

Returns the position of the provided item.

Return

The position of the provided item or INVALID_POSITION if item is not in the list.

Parameters

item

The item to query for position.