Use "conditional operator" in a sentence

1. The Conditional operator ?:, also known as the ternary Conditional operator, evaluates a Boolean expression and returns the result of one of the two expressions, depending on whether the Boolean expression evaluates to true or false.

2. The syntax for the Conditional operator is as follows: condition ? consequent : alternative The condition expression must evaluate to true or false.