
上QQ阅读APP看书,第一时间看更新
Patterns
Patterns matching is the process of performing syntactical testing of the value to verify whether it matches the certain model. There are three types of patterns:
- Constant patterns.
- Type patterns.
- Var patterns.
Patterns matching is the process of performing syntactical testing of the value to verify whether it matches the certain model. There are three types of patterns: