Is there a way to use the ternary operator to choose between two operators?
Example:
Code:BOOL greaterThan = true; int x = 5; int y = 10; if(x (greaterThan? > : <) y) { do something if greaterThan is true, and x > y, or if greaterThan is false, and x < y }