indexOfFirst
Returns index of the first element matching the given predicate, or -1 if the array does not contain such element.
Since Kotlin
1.0Returns index of the first element matching the given predicate, or -1 if the collection does not contain such element.
Since Kotlin
1.0Returns index of the first element matching the given predicate, or -1 if the list does not contain such element.
Since Kotlin
1.0Returns index of the first element matching the given predicate, or -1 if the array does not contain such element.