Files
discord.js/packages/collection
Jaw0r3k ac645084f0 feat: support findLast and reduceRight methods (#9573)
* feat(collection): findLast and reverseRight

* chore(collection): performance and tests change

Co-authored-by: kyra <kyradiscord@gmail.com>

* remove unnecessary code

* Update packages/collection/src/collection.ts

Co-authored-by: Aura Román <kyradiscord@gmail.com>

* Apply suggestions from code review

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>

---------

Co-authored-by: kyra <kyradiscord@gmail.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2023-11-05 18:49:53 +00:00
..
2023-05-03 02:14:22 +02:00
2023-05-03 02:14:22 +02:00
2022-07-22 01:32:19 +02:00
2023-04-02 01:55:39 +02:00
2022-06-07 10:51:33 +02:00
2023-10-17 20:47:47 +00:00
2023-08-22 01:33:47 +02:00
2023-08-22 01:33:47 +02:00


discord.js


Discord server npm version npm downloads Build status Code coverage

Vercel Cloudflare Workers

About

@discordjs/collection is a powerful utility data structure used in discord.js.

Installation

Node.js 16.11.0 or newer is required.

npm install @discordjs/collection
yarn add @discordjs/collection
pnpm add @discordjs/collection

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.
See the contribution guide if you'd like to submit a PR.

Help

If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official discord.js Server.