in reply to alternative to if statements

It's called the 'ternary' or 'hook' conditional operator.

----
I Go Back to Sleep, Now.

OGB