Implementation of Set with a configurable equality algorithm
npm install collectio-hashset




npm i collectio-hashset
Implementation of Set with a configurable equality algorithm
- HashSet
- new HashSet(equalityComparer)
- _instance_
- size : number
- add(value) : HashSet
- has(value) : boolean
- delete(value) : boolean
- clear() : undefined
- forEach(callback) : undefined
- entries() : Iterable.<[any, any]>
- values() : Iterable.<any>
- [[Symbol.iterator]()](https://github.com/litichevskiydv/collectio-hashset/wiki/Symbol.iterator) : Iterable.<any>