Navigation :
(?:) ternary operator
(boolean ? ‘a : ‘a) 🡒 ‘a, operator
The conditional operator, also referred to as the ternary if.
table T = with
[| as A, as B, as C |]
[| 1, 0, true |]
[| 2, 3, false |]
[| 4, 5, false |]
show table "" a1d3 with
T.A
T.B
T.C
T.C ? T.A : T.B
See also