Is there findFirst with position in predicate in Kotlin
I need to find first element in a list which fits predicate. But I need to check with it position in predicate.
list.findXXX { index, item ->
index > 19 && item.active
}
Is there such a function?