`!` and the condition — the arm, not the decision: an `if` and its `else` differ here and nowhere else.
(g: BranchGuard)
| 354 | |
| 355 | /** `!` and the condition — the arm, not the decision: an `if` and its `else` differ here and nowhere else. */ |
| 356 | function armKey(g: BranchGuard): string { |
| 357 | return `${g.negated ? '!' : ''}${g.text}`; |
| 358 | } |
| 359 | |
| 360 | function formOf(g: BranchGuard): 'if' | 'switch' | 'ternary' | 'try' { |
| 361 | switch (g.form) { |