ternary opertor for if condition code example Example: ternary operator (condition) ? (if true, do this) : (otherwise, do this)