Switch 8
Switch/case implementation
Description
Switch/case implementation
Inputs
- Comparator (Object): The object to be used for comparing each switch case
- case 1 (Object): Case 1 object to compare
- value 1 (Object): The object to return if case 1 is true
- case 2 (Object): Case 2 object to compare
- value 2 (Object): The object to return if case 2 is true
- case 3 (Object): Case 3 object to compare
- value 3 (Object): The object to return if case 3 is true
- case 4 (Object): Case 4 object to compare
- value 4 (Object): The object to return if case 4 is true
- case 5 (Object): Case 5 object to compare
- value 5 (Object): The object to return if case 5 is true
- case 6 (Object): Case 6 object to compare
- value 6 (Object): The object to return if case 6 is true
- case 7 (Object): Case 7 object to compare
- value 7 (Object): The object to return if case 7 is true
- case 8 (Object): Case 8 object to compare
- value 8 (Object): The object to return if case 8 is true
- defaults (Object): The default object to return
Outputs
- return (Object): The object of the switch case that is true