Create a Comparison object for evaluating whether a variable is outside the given range.
Parameters: |
|
---|---|
Returns: | A Comparison object which will evaluate whether or not the comparison evaluates to True. |
Examples:
>>> c = cf.outside(5)
>>> c
<CF Comparison: x outside (5, 7)>
>>> c.evaluate(4)
True
>>> c.evaluate(6)
False