switch

function (switch [cond1 exp1] ... [condn expn] defaultexp) → value

Evaluates conditions until one returns non-Nil, then evaluates the corresponding expression