Calls callback on the specified range of keys, in ascending order by key.
The first key scanned will be greater than or equal to low.
Scanning stops when a key larger than this is reached.
If the high key is present in the map, onFound is called
for that final pair if and only if this parameter is true.
OptionalonFound: (k: K, v: any, counter: number) => void
A function that is called for each key pair. Because this is a subinterface of ISortedMapSource, if there is a value associated with the key, it is passed as the second parameter.
OptionalinitialCounter: number
Initial third argument of onFound. This value
increases by one each time onFound is called. Default: 0
Number of pairs found and the number of times onFound was called.
Returns a boolean asserting whether the key exists in the map object or not.
Gets the highest key in the collection.
Gets the lowest key in the collection.
An data source that provides read-only access to a set of items called "keys" in sorted order. This is a subinterface of ISortedMapSource.