0

In google app script can you have more than one expression in a switch or better in an if ?

switch (A_min,B_max) {
case A_min<0 and B_max<0
break;
case A_min>0 and B_max>0
break;
case A_min<0 and B_max>0
break;
}
TheMaster
  • 45,448
  • 6
  • 62
  • 85
kc0hwa
  • 65
  • 1
  • 1
  • 6
  • 3
    Related: https://stackoverflow.com/questions/9235152/can-i-use-a-case-switch-statement-with-two-variables – ziganotschka May 22 '20 at 13:49
  • 2
    Does this answer your question? [Can I use a case/switch statement with two variables?](https://stackoverflow.com/questions/9235152/can-i-use-a-case-switch-statement-with-two-variables) – TheMaster May 22 '20 at 15:11

0 Answers0