Lte

Less than or equal to

Signature

lte(left: Alpha|AttrName, right: Alpha|AttrName) -> Predicate

Examples

lte(:status, 20)
lte(:status, 30)

Description

This predicates checks whether a value (left) is less than or equal to another one (right).

Implementation notes

This predicate is equivalent to ->(t){ _left_ <= _right_ }.