(value: any)
| 220 | * (it interprets undefined as "start from beginning" in nextHigherPair/nextLowerPair). |
| 221 | */ |
| 222 | export function normalizeForBTree(value: any): any { |
| 223 | if (value === undefined) { |
| 224 | return UNDEFINED_SENTINEL |
| 225 | } |
| 226 | return normalizeValue(value) |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * Converts the `UNDEFINED_SENTINEL` back to `undefined`. |
no test coverage detected