CaseWhenElse
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
The conditions to check and their results if met
The result if none of the conditions are found to be true
The return type of the CASE expression