toggle menu
KAHelpers
androidJvm
switch theme
search in API
collections
/
dev.funkymuse.collections
/
firstIndexed
first
Indexed
inline
fun
<
T
>
Array
<
T
>
.
firstIndexed
(
filter
:
(
index
:
Int
,
T
)
->
Boolean
,
onNext
:
(
index
:
Int
,
T
)
->
Unit
=
{ _, _ -> }
,
onSuccess
:
(
)
->
Unit
=
{}
,
onFail
:
(
)
->
Unit
=
{}
,
onComplete
:
(
)
->
Unit
=
{}
)