Explore relationships

Conditional operator

In computer programming, the ternary conditional operator is a conditional expression with three parts: the Boolean condition, the then-expression, and the else-expression.

Use + to expand a branch. Click a topic name to open its summary.