Total noob here so be gentle. I\'ve looked everywhere and can\'t seem to find the answer to this. How do I condense the following?
if (expression) { re
return (expression) ? value1 : value2;
If value1 and value2 are actually true and false like in your example, you may as well just
value1
value2
true
false
return expression;