(e: Expression)
| 494 | if (!steps) steps = [{ value: expr, because: 'initial' }]; |
| 495 | |
| 496 | // |
| 497 | // 1/ Use the canonical form, if applicable |
| 498 | // |
| 499 | if (!expr.isValid) return steps; |
| 500 | |
| 501 | if (!(expr.isCanonical || expr.isStructural)) { |
| 502 | const canonical = expr.canonical; |
| 503 | if (!(canonical.isCanonical || canonical.isStructural)) return steps; |
no test coverage detected