Calling
Execute different instructions based on a variable’s value
An object that accepts the following properties.
Name of the variable whose value needs to be compared.
Case_params object of key-mapped values to array of SWML Methods to execute.
Array of SWML Methods to execute if no cases match.
The case_params object serves as a dictionary where each key is a string identifier, and
the associated value is an array of SWML Method objects.
Name of the variable whose value needs to be compared.