FpdartOnPredicate1<P> extension

on

Properties

negate bool Function(P)

Available on bool Function(P), provided by the FpdartOnPredicate1 extension

Negate the return value of this function.
no setter

Methods

and(bool predicate(P p)) bool Function(P)

Available on bool Function(P), provided by the FpdartOnPredicate1 extension

Compose using && this function with predicate.
contramap<A>(P map(A a)) bool Function(A)

Available on bool Function(P), provided by the FpdartOnPredicate1 extension

Apply map to the value of the parameter P and return a new bool Function(A).
or(bool predicate(P)) bool Function(P)

Available on bool Function(P), provided by the FpdartOnPredicate1 extension

Compose using || this function with predicate.
xor(bool predicate(P)) bool Function(P)

Available on bool Function(P), provided by the FpdartOnPredicate1 extension

Compose xor this function with predicate.