operator | method

Predicate<T> operator |(
  1. Predicate<T> predicate
)

Compose this Predicate with the given predicate using OR.

Implementation

Predicate<T> operator |(Predicate<T> predicate) => or(predicate);