Not possible to do exacly what OP wanted, but how about
x < y ^ greaterThan
... which flips the logic outcome depending on 'greaterThan'.
There is still the issue of how cases <=, >=, ==, != are...