Expand description
Definition of Predicates for comparisons over Ord and Eq types.
Structs§
- EqPredicate
- Predicate that returns
trueifvariablematches the pre-definedEqvalue, otherwise returnsfalse. - OrdPredicate
- Predicate that returns
trueifvariablematches the pre-definedOrdvalue, otherwise returnsfalse.
Functions§
- eq
- Creates a new predicate that will return
truewhen the givenvariableis equal to a pre-defined value. - ge
- Creates a new predicate that will return
truewhen the givenvariableis greater than or equal to a pre-defined value. - gt
- Creates a new predicate that will return
truewhen the givenvariableis greater than a pre-defined value. - le
- Creates a new predicate that will return
truewhen the givenvariableis less than or equal to a pre-defined value. - lt
- Creates a new predicate that will return
truewhen the givenvariableis less than a pre-defined value. - ne
- Creates a new predicate that will return
truewhen the givenvariableis not equal to a pre-defined value.