Concept Flow - Match overview
Start: Have a value
Match value against patterns
Check pattern 1
No→Check pattern 2
Execute code block
End
The match expression checks a value against multiple patterns one by one and runs the code for the first matching pattern.