or method

Predicate<T> or(
  1. Predicate<T> other
)

Returns a composed Predicate that represents a short-circuiting logical OR of this Predicate and other.

Implementation

Predicate<T> or(Predicate<T> other) => (value) => this(value) || other(value);