dropWhile


Description:

public Stream<T> dropWhile (owned PredicateFunc<T> fn)

Returns a Stream skipping elements while the predicate is true, then includes all remaining elements.

Example:

    var dropped = stream.dropWhile ((x) => { return x < 3; });

Parameters:

fn

the predicate.

Returns:

a new Stream without the leading matching elements.