allMatch


Description:

public bool allMatch (owned PredicateFunc<T> fn)

Returns whether all elements match the predicate. Returns true for an empty stream.

Parameters:

fn

the predicate.

Returns:

true if all elements match.