Concept Flow - Switch expressions with patterns
Start with input value
Evaluate switch expression
Match pattern 1?
No→Match pattern 2?
Return result 1
End
The switch expression checks the input against patterns in order and returns the matching result or a default.
