collection
collection copied to clipboard
Utility data structure used in Discord.js
### Feature ### Current implementation Quirks ### 1.) `intersect` isn't commutative, even though it should be When taking the intersection (∩) of two sets T and S: ``` 𝑆 ∩...
**Please describe the changes this PR makes and why it should be merged:** Closes #55 `intersect` and `difference` will provide a collection with a value type that is a union...
**Please describe the changes this PR makes and why it should be merged:** Husky hooks wouldn't execute due to execute bit not being flipped on. **Status and versioning classification:** -...
### Issue description The following error can be produced with any two collections that have different key or value types. I understand why you shouldn't be able to use two...
Hi, Currently `.filter()` is a custom implementation that returns a filtered map with the ID being they key. `.map()` returns an array, consistent with Javascript documentation. Is it possible to...
`Collection#sorted` should be renamed to some sort of verb; "sorted" is an adjective and doesn't fit in with the rest of the method names, which are mostly verbs (I recognize...