``` fun matchPredicate(foo: MySealedClass) { w...
# announcements
m
Copy code
fun matchPredicate(foo: MySealedClass) {
    when (foo) {
        bar, baz, fooz -> true
        else -> false
    }
}