mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
Merge branch 'bugfix/docs' of https://github.com/hkwu/discord.js into hkwu-bugfix/docs
This commit is contained in:
commit
725da8d8a5
2 changed files with 3 additions and 3 deletions
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue