is it possible to match like this? `when (x) { is ...
# announcements
v
is it possible to match like this?
when (x) { is Foo && x.aFooField > 10 -> ... }
a
Copy code
when {
    x is Foo && x.aFooField > 10 -> ...
}
v
yeah, thanks, but it looks strange what
when (x)
does not work
a
sadly when-pattern matching is not that powerful