conditional operator
ternary operator "x ? y : z" in many programming languages, whose value is y if x evaluates to true and z otherwise
Facts
3 properties- Subclass of
- ternary operator, program operator[1][2]
- Described by source
- mathisfun.com[3]
- Different from
- ternary operator, Elvis operator[4][5]
🏷️ Also known as
en inline if
en ?: operator
en shorthand conditional
en ternary conditional operator
en ternary operator
en ?:
en conditional operator
cs podmíněný operátor
cs ?:
cs ternární operátor
cs ternární podmíněný operátor
de ternärer Auswahloperator
fr ? :
fr opérateur ternaire
ja 条件演算子
ja ?:
ko 조건부 연산자
pl ?:
pl operator trójargumentowy
pl operator warunkowy
🔖 Identifiers · 2
- Described at URL
- developer.mozilla.org, www.geeksforgeeks.org, learn.microsoft.com, www.w3schools.com, www.freecodecamp.org, www.programiz.com
- Freebase ID
- /m/0317j7
🔗 Connections
Different from 1
Subclass of 1
← Different from 1
Press Enter · cited answer in seconds