Returns the next key smaller than the specified key, or undefined if there is none. * Also, nextLowerKey(undefined) returns the highest key.
(key: K | undefined)
| 280 | * Also, nextLowerKey(undefined) returns the highest key. |
| 281 | */ |
| 282 | nextLowerKey(key: K | undefined): K | undefined { |
| 283 | const p = this.nextLowerPair(key, ReusedArray as [K, V]) |
| 284 | return p && p[0] |
| 285 | } |
| 286 | |
| 287 | /** Adds all pairs from a list of key-value pairs. |
| 288 | * @param pairs Pairs to add to this tree. If there are duplicate keys, |
nothing calls this directly
no test coverage detected