Between
Between (inclusive)
Signature
between(val: Alpha|AttrName, min: Alpha|AttrName, max: Alpha|AttrName) -> Predicate
Examples
between(:status, 10, 30)
Description
This predicates checks whether a value (val
) is between two bounds min
and max
, inclusive on both sides.
Implementation notes
This predicate is equivalent to gte(_val_,_min_) & lte(_val_,_max_)
.