Ternary conditional operator

Ternary conditional operator

Common

Rarity: Common

The most frequent rarity: most Wikipedia articles become Commons.

Rarity follows how well known the article is: its views on the French and English Wikipedia over a year, and the number of languages it exists in.

At a glance

Class
Notion
Domain
Science and technology
In collections
Nobody has pulled it yet.

What Wikipedia says

In computer programming, the ternary conditional operator is a conditional expression with three parts: the Boolean condition, the then-expression, and the else-expression. If the condition is true, the then-expression is evaluated; otherwise, the else-expression is evaluated; and the value is returned.

Excerpt from the Wikipedia article “Ternary conditional operator”, under the CC BY-SA 4.0 license. Read the article on Wikipedia

Open free boosters and add Ternary conditional operator to your collection.

Play for free

Related cards