switch
Compares one value against a list of cases and runs the first match. It must be exhaustive and never falls through to the next case.
Compares one value against a list of cases and runs the first match. It must be exhaustive and never falls through to the next case.