Is the ternary operator written x : y ? z or x ? y : z

It is written x ? y : z.