About Conditional Expressions
Conditional expressions use the conditional operators to compare operands (typically, value expressions). When evaluated, conditional expressions yield a logical result (true or false), depending if the condition is satisfied. Conditional Operators Operator Condition Being Evaluated expr = expr The values are equal. expr expr The values are not equal. expr = expr The left-hand value…
Leia mais