Pattern Matching with Match
In this lesson, you will learn about pattern matching and how it is implemented using the `match` control structure.
Pattern Matching #
Pattern matching means exactly what you think it might—checking if an object or series of tokens match a specified pattern. A pattern match consists of a list of alternative cases which are made up of a pattern and a corresponding expression.