mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Merge branch 'hkwu-bugfix/docs' into indev
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -210,7 +210,7 @@ class Collection extends Map {
|
||||
* [Array.some()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some).
|
||||
* @param {function} fn Function used to test (should return a boolean)
|
||||
* @param {Object} [thisArg] Value to use as `this` when executing function
|
||||
* @returns {Collection}
|
||||
* @returns {boolean}
|
||||
*/
|
||||
some(fn, thisArg) {
|
||||
if (thisArg) fn = fn.bind(thisArg);
|
||||
@@ -225,7 +225,7 @@ class Collection extends Map {
|
||||
* [Array.every()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every).
|
||||
* @param {function} fn Function used to test (should return a boolean)
|
||||
* @param {Object} [thisArg] Value to use as `this` when executing function
|
||||
* @returns {Collection}
|
||||
* @returns {boolean}
|
||||
*/
|
||||
every(fn, thisArg) {
|
||||
if (thisArg) fn = fn.bind(thisArg);
|
||||
|
||||
Reference in New Issue
Block a user