``` when { x == 3 -> ... x != 10 -> ...
# getting-started
m
Copy code
when {
    x == 3 -> ...
    x != 10 -> ...
}
is the closest I can think of