Kotlin had it since 1.0, it's just called `when` instead of `match`.
https://kotlinlang.org/docs/control-flow.html#expressions
That’s just fancy switch statement.
Kotlin does not have inline destructuring in pattern matching.
That’s just fancy switch statement.