open fun equivalence(@NonNull other: Predicate<T>): Predicate<T>!
Performs a predicate composition returning a "boolean equality". This operation will result with a predicate returning true if two composed predicates return the same value (both give true / both give false).
other
- Predicate<T>: predicate that will be composed with "this" predicate.
Return
Predicate<T>!: a composed predicate (boolean equality).