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