sdk-common / com.tomtom.online.sdk.common.functional / Predicate / then

then

open fun then(@NonNull other: Predicate<T>): Predicate<T>!

Performs a predicate composition returning a "logical material implication". If p is true then the value of p -> q is taken to be that of q. But if p is false then true is returned.

Parameters

other - Predicate<T>: predicate that will be composed with "this" predicate.

Return
Predicate<T>!: a composed predicate (logical material implication).