arrow-fx-coroutines / arrow.fx.coroutines.stream / Chunk / indexOfFirst
inline fun indexOfFirst(p: (O) ->
Boolean
):
Int
?
Returns the index of the first element which passes the specified predicate (i.e., p(i) == true
)
or null
if no elements pass the predicate.
Do you like Arrow?
✖