A type of Set that has the additional guarantee that the iteration order of values will be the order in which they were added.

The iteration behavior of OrderedSet is the same as native ES6 Set.

Note that OrderedSet are more expensive than non-ordered Set and may consume more memory. OrderedSet#add is amortized O(log32 N), but not stable.

Index

Functions

Generated using TypeDoc