open fun xor(@NonNull other: Predicate<T>): Predicate<T>!
Performs a predicate composition returning a "logical eXclusive OR". This operation will result with a predicate returning true if two composed predicates differ (one is true, the other is false).
other
- Predicate<T>: predicate that will be composed with "this" predicate.
Return
Predicate<T>!: a composed predicate (logical eXclusive OR).