News

For example, you can use different “operators” to create different test-statements. For instance, the “>” symbol means bigger than, while “<” means smaller than.
In the above example we’re using simple strings as our match targets, but more complex matches are possible. In fact, the chief use case for structural pattern matching is to match patterns of ...