(x: unknown)
| 1504 | // order (and thus the dedup behavior) of the linear scan. With |
| 1505 | // `recursive`, head dispatch is unsound — keep the linear scan. |
| 1506 | const index = options?.recursive |
| 1507 | ? undefined |
| 1508 | : getRuleIndex(rules.rules, options?.useVariations === true); |
| 1509 | |
| 1510 | if (index === undefined) for (const rule of rules.rules) collect(rule); |
| 1511 | else for (const { rule } of candidateRules(index, expr, -1)) collect(rule); |
no test coverage detected