indexed-collection
Version:
A zero-dependency library of classes that make filtering, sorting and observing changes to arrays easier and more efficient.
12 lines (11 loc) • 311 B
text/typescript
export enum CollectionNature {
/**
* The items in the collection should always be unique, and order does not matter
* This option is always performant
*/
Set = 'set',
/**
* The items in the collection should always preserve the order it is entered in the collection
*/
Array = 'array',
}