Return a comparison object for a variable for being without a range.
x == cf.wo(a, b) is equivalent to x == cf.lt(a) | cf.gt(b).
Parameters : |
|
---|---|
Returns : |
|
Examples
>>> c = cf.wo(5)
>>> c
<CF Comparison: x wo (5, 7)>
>>> c.evaluate(4)
True
>>> c.evaluate(6)
False