switchCase

fun switchCase(vararg expressions: Expression): Expression

Selects the first output whose corresponding test condition evaluates to true, or the fallback value otherwise.


DSL function for "case".