I have a switch case statement as follows that gives me an error Type mismatch: cannot convert from String to boolean:
Switch (product) {
case "Token" : I get an error on this line
}
I’m expecting the case statement to Ignore the keyword Token and treat it like a string.
1