ternary

A description of an operator taking three arguments. The only common example is C's ?: operator which is used in the form "CONDITION ? EXP1 : EXP2" and returns EXP1 if CONDITION is true else EXP2. Haskell has a similar "if CONDITION then EXP1 else EXP2" operator.

See also unary, binary.