Case

case [<value>/default(, <value>, …)]

Defines the condition for a block of script within a switch statement. This command can only be used directly inside a switch statement.

Parameters:

  1. The condition or value that the switch statement input has to match. ‘default’ can be specified to make this the fallback case if no cases matched the switch statement input.