Module predicate
Expand description
Predicate factories
Modules§
f64
Predicate factoriesPath
Predicate factoriesstr
Predicate factories
Functions§
- Creates a new
Predicate
that always returnstrue
. - Creates a new predicate that will return
true
when the givenvariable
is equal to a pre-defined value. - Creates a new predicate that wraps over the given function. The returned type implements
Predicate
and therefore has all combinators available to it. - Creates a new predicate that will return
true
when the givenvariable
is greater than or equal to a pre-defined value. - Creates a new predicate that will return
true
when the givenvariable
is greater than a pre-defined value. - Creates a new predicate that will return
true
when the givenvariable
is contained with the set of items provided. - Creates a new predicate that will return
true
when the givenvariable
is contained with the set of items provided. - Creates a new predicate that will return
true
when the givenvariable
is less than or equal to a pre-defined value. - Creates a new predicate that will return
true
when the givenvariable
is less than a pre-defined value. - Creates a new predicate that will return
true
when the givenvariable
is not equal to a pre-defined value. - Creates a new
Predicate
that always returnsfalse
.