if

特殊形式

(if condition then else?)

(if condition then else?) — 条件分支:condition 非 nil/false 时求值 then,否则求值 else(省略时返回 nil);分支在尾位置。