There are two ways to think of this type:
- As an
Arrayof values with aStd.TreeMapkey-value index for the keyα. - As a
Std.TreeMapthat preserves insertion order, but is optimized for iteration-by-values. Thus, it does not store the order of keys.
- toTreeMap : Std.TreeMap α β cmp
- toArray : Array β