doc.atozed.com
switch(val1 val2 …)
Switch is a one way modifier and converts boolean or numeric values into strings or enums. Boolean switch(trueval falseval) Returns trueval if input is true, else returns falseval. In this example,…