FpdartOnPredicate1<P> extension

on

Properties

negate bool Function(P)
Negate the return value of this function.
no setter

Methods

and(bool predicate(P p)) bool Function(P)
Compose using && this function with predicate.
contramap<A>(P map(A a)) bool Function(A)
Apply map to the value of the parameter P and return a new bool Function(A).
or(bool predicate(P)) bool Function(P)
Compose using || this function with predicate.
xor(bool predicate(P)) bool Function(P)
Compose xor this function with predicate.