Return an object for testing whether a variable is is inside the given range.
The lower bound of the range which a variable is to be compared with.
The upper bound of the range which a variable is to be compared with.
A Comparison object which will evaluate whether or not the comparison evaluates to True.
Examples
>>> c = cf.inside(5,7) >>> c <CF Comparison: x inside (5, 7)> >>> c.evaluate(6) True >>> c.evaluate(4) False
cf.gt
cf.le
Enter search terms or a module, class or function name.