There is such an operator; the documentation calls ita "conditional operator".
https://ton.org/docs/develop/func/statements#conditional-operator
This is the example provided:
;; <condition> ? <consequence> : <alternative>
x > 0 ? x * fac(x - 1) : 1;