switchCase

@JvmStatic
fun switchCase(vararg expressions: Expression): Expression
@JvmStatic
fun switchCase(vararg stops: Pair<Expression, Expression>, fallback: Expression): Expression

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


DSL function for "case".