What is the purpose of the "typeof" operator in a switch statement?
To determine the type of the switch expression
To convert the switch expression to a string value
To check if the switch expression is defined or not
To compare the switch expression with multiple types