if a
is less than(<) b
then(?) return c
otherwise(:) return "text"
Basically there is no < ? :
operator, you're seeing two separate operators, '<
' and the '?:
' operator, which is ternary and therefore takes three inputs (in this order):
1) An expression that is a boolean (in this case the <
comparison)
2) What to return when 1) is true
3) What to return when 1) is false