OptionalcompareOptionalelementsAn iterable that will be consumed to fill the collection.
OptionalgetExtracts the key part of the element.
OptionalisUsed for checking two elements with the same key in the collection.
OptionalonWhat to do when an identical element (according to [[isEqual]]) is added.
OptionalonWhat to do when an element with the same key (according to [[compareKeys]]) is added.
Compares two keys and returns whether the first key is less than the second.
If left unspecified, a default function will be chosen that works on most keys.