I\'m trying to use this and it doesn\'t appear to be working. I\'m guessing it\'s just not an option, but want to confirm. Is this valid?
(if_it_is) ? thats_cool
No, it's not valid.
The conditional operator takes the form x ? y : z. The third operand is not like the else in an if, it always has to be there.
x ? y : z
else
if