effect-io-ai

Package: effect
Module: Stream

Stream.dropWhile

Drops all elements of the stream for as long as the specified predicate evaluates to true.

Signature

declare const dropWhile: { <A>(predicate: Predicate<NoInfer<A>>): <E, R>(self: Stream<A, E, R>) => Stream<A, E, R>; <A, E, R>(self: Stream<A, E, R>, predicate: Predicate<A>): Stream<A, E, R>; }

Source

Since v2.0.0