conditional operator (Q2984985)
ternary operator "x ? y : z" in many programming languages, whose value is y if x evaluates to true and z otherwise
Language:
other details
aliases ternary conditional operator
?:
inline if
shorthand conditional
ternary operator
?: operator
description ternary operator "x ? y : z" in many programming languages, whose value is y if x evaluates to true and z otherwise

External Links