if / else

An if is an expression; branches must agree on a type, else if chains for multi-way branches.

An if is an expression. The branches must agree on a type. else if chains for multi-way branches.

wcl
sign = if x < 0 { :neg } else if x > 0 { :pos } else { :zero }