Function
extractAll
(
row: Record<string, unknown> | null | undefined,
)
Source from the content-addressed store, hash-verified
| 263 | if (allColumnExtractors) { |
| 264 | // Multi-column with all refs: extract all values and compare |
| 265 | const extractAll = ( |
| 266 | row: Record<string, unknown> | null | undefined, |
| 267 | ) => { |
| 268 | if (!row) return row |
| 269 | return allColumnExtractors.map((extractor) => extractor(row)) |
| 270 | } |
| 271 | return compare(extractAll(a), extractAll(b)) |
| 272 | } |
| 273 | // Fallback: can't compare (shouldn't happen since we skip non-ref cases) |
Tested by
no test coverage detected