-laravel if else short notation code example
Example 1: java shortest if else statement
(myNumber == 12) ? "true" : "false"
Example 2: c# inline if
(condition ? [true value] : [false value])
int x = a ? b : c;
Example 3: c# ternary condition
condition ? consequent : alternative