(root: BaseRoot, variant: number)
| 844 | } |
| 845 | |
| 846 | export const isChecker = (root: BaseRoot, variant: number): boolean => |
| 847 | (compilers[baseVariantOf(variant)] === CombinatorCompiler || |
| 848 | baseVariantOf(variant) === shapedForSize) && |
| 849 | combines(root) |
| 850 | |
| 851 | // a unit is compiled by the variant of the root it was reached from, which |
| 852 | // needn't be the one its own roots would pick |
no test coverage detected