Kotlin Kotlin - Pattern Matching Rehash We already touched on Pattern Matching in Java, but what about Kotlin? Let's explore writing a similar library to our Java example, but in Kotlin!