or

open fun or(other: Predicate<in T>): Predicate<T>

Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another. When evaluating the composed predicate, if this predicate is true, then the other predicate is not evaluated.

Return

a composed predicate that represents the short-circuiting logical OR of this predicate and the other predicate

Parameters

other

a predicate that will be logically-ORed with this predicate