#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.
```wclsign = if x < 0 { :neg } else if x > 0 { :pos } else { :zero }
```##Related-[match](../references/concept_match_expr.md)-[if let](../references/concept_if_let.md)[← Back to SKILL.md](../SKILL.md)