noun
ternary operator; conditional operator
In programming, an operator that takes three operands; commonly refers to the conditional operator `? :` in languages like C, Java, and JavaScript.
C言語では、三項演算子を使って条件分岐を簡潔に書ける。
In C, you can write conditional branches concisely using the ternary operator.
三項演算子は、条件式 ? 真の値 : 偽の値 という形をとる。
The ternary operator takes the form: condition ? true_value : false_value.