Module predicates::constant[][src]

Definition of a constant (always true or always false) Predicate.

Structs

BooleanPredicate

Predicate that always returns a constant (boolean) result.

Functions

always

Creates a new Predicate that always returns true.

never

Creates a new Predicate that always returns false.