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
You miss the third component. Should be something like that:
(if_it_is) ? thats_cool() : not_too_cool();
The whole sense is:
condition ? do_something_if_condition_is_true : do_something_if_condition_is_false;