Aliucord
2.0.1
androidJvm
Aliucord
/
com.aliucord
/
CollectionUtils
/
findIndex
find
Index
open
fun
<
E
>
findIndex
(
@
NonNull
list
:
List
<
E
>
,
@
NonNull
filter
:
(
E
)
->
Boolean
)
:
Int
Find the index of the first element which passes the filter
Return
Index if found, otherwise -1