arrow-fx-coroutines / arrow.fx.coroutines.stream / dropWhile

dropWhile

fun <O> Pull<O, Unit>.dropWhile(p: (O) -> Boolean): Pull<O, Unit>

Drops elements of the this stream until the predicate p fails, and returns the new stream. If defined, the first element of the returned stream will fail p.

Do you like Arrow?

Arrow Org
<