IntervalIndexFactory = <
K,V>(order,initialEntries?) =>IntervalIndex<K,V>
Defined in: packages/interval-index/src/interval-index.ts:93
A factory that builds an IntervalIndex over order, optionally seeded with initial entries.
Type Parameters
Section titled “Type Parameters”K
V
Parameters
Section titled “Parameters”Order<K>
initialEntries?
Section titled “initialEntries?”Iterable<IntervalInput<K, V>>
Returns
Section titled “Returns”IntervalIndex<K, V>
Throws
Section titled “Throws”With INVALID_INTERVAL when an initial entry’s start sorts after its end.