I would say that languages where "if" can be used as expression provide a different (perhaps better) syntax for the same ternary operator.
a = if x then y else z
is just a more verbose version of a = x ? y : z;
Raku uses yet another form of the same operator: a = x ?? y :: z;
Syntactic sugar :-)