then you can write something like: ``` when ("hell...
# effective-kotlin
a
then you can write something like:
Copy code
when ("hello") {
    in Regex("h*llo") -> println("Regex")
    in Substring("ello") -> println("Substring")
}
😮 1