Returns the next key larger than the specified key, or undefined if there is none. * Also, nextHigherKey(undefined) returns the lowest key.
(key: K | undefined)
| 258 | * Also, nextHigherKey(undefined) returns the lowest key. |
| 259 | */ |
| 260 | nextHigherKey(key: K | undefined): K | undefined { |
| 261 | const p = this.nextHigherPair(key, ReusedArray as [K, V]) |
| 262 | return p && p[0] |
| 263 | } |
| 264 | |
| 265 | /** Returns the next pair whose key is smaller than the specified key (or undefined if there is none). |
| 266 | * If key === undefined, this function returns the highest pair. |
nothing calls this directly
no test coverage detected