Return a cf.Query object for a variable for being less than or equal to a value.
See also
cf.contain, cf.eq, cf.ge, cf.gt, cf.ne, cf.lt, cf.set, cf.wi, cf.wo
The value which a variable is to be compared with.
The units of value. By default, the same units as the variable being tested are assumed, if applicable.
Return a query object for a variable’s attr attribute.
The query object.
>>> q = cf.le(5) >>> q <CF Query: x le 5> >>> q.evaluate(5) True >>> q.evaluate(6) False
cf.gt
cf.lt
Enter search terms or a module, class or function name.