Trying to make a servo flip a switch.

? is called the ternary operator

It is rarely used as it is easy to mis-read. It is usually better to use an if().