switchCase

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

fun switchCase(vararg expressions: Array<out Expression>): Expression

DSL function for "case".

fun switchCase(block: Expression.ExpressionBuilder.() -> Unit): Expression