CaseWhenElse

constructor(cases: List<Pair<Expression<*>, Expression<out T>>>, elseResult: Expression<T>)

Parameters

cases

The conditions to check and their results if met

elseResult

The result if none of the conditions are found to be true

Type Parameters

T

The return type of the CASE expression