(a: unknown, b: unknown)
| 291 | const comparisons: Array<[unknown, unknown]> = [] |
| 292 | |
| 293 | function customComparator(a: unknown, b: unknown): number { |
| 294 | comparisons.push([a, b]) |
| 295 | if (a === undefined && b === undefined) return 0 |
| 296 | if (a === undefined) return 1 |
| 297 | if (b === undefined) return -1 |
| 298 | return (a as number) - (b as number) |
| 299 | } |
| 300 | |
| 301 | const index = new BTreeIndex<string>( |
| 302 | 1, |
nothing calls this directly
no outgoing calls
no test coverage detected