An inline switch statement with cases and default
Create the class
The value to compare each case to
Private
Readonly
Add a case to the switch statement
Function to return the value to compare to
Function to return the return value if the comparison matches
Get the final value of the switch statement
Function to return the return value if none of the cases matched
Generated using TypeDoc
An inline switch statement with cases and default