For patterns, a developer can use any Python type, any class, or any Python value.
The operator
_
and built-in types likeint
orstr
, extract variables that are passed to functions.Types and Classes are matched via
instanceof(value, pattern)
.
Iterable
Patterns match recursively through all their elements. The same goes for dictionaries.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.3.0-bp155.2.10 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
0.3.0-bp154.1.20 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.3.0-bp153.1.14 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.3.0-bp152.1.6 info | GA Release | 2020-04-17 | 15 SP2 |
|
|