michaelrocks
when
when { value != otherValue -> doSomething() someOtherCondition() -> doSomethingElse() }