rescript-tutorial
rescript-tutorial copied to clipboard
Expand if/else narrative
- You have to always provide the else branch
- Unless you are returning
unittype - Rationale for why this restriction is necessary for writing robust production code
- Is an expression, not a statement