mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
Add a little more detail about value
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -78,7 +78,7 @@ class Collection extends Map {
|
|||||||
* In the latter case, this is identical to
|
* In the latter case, this is identical to
|
||||||
* [Array.find()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find).
|
* [Array.find()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find).
|
||||||
* @param {string|function} propOrFn The property to test against, or the function to test with
|
* @param {string|function} propOrFn The property to test against, or the function to test with
|
||||||
* @param {*} [value] The expected value - required if using a property for the first argument
|
* @param {*} [value] The expected value - only applicable and required if using a property for the first argument
|
||||||
* @returns {*}
|
* @returns {*}
|
||||||
* @example
|
* @example
|
||||||
* collection.find('id', '123123...');
|
* collection.find('id', '123123...');
|
||||||
@@ -108,7 +108,7 @@ class Collection extends Map {
|
|||||||
* In the latter case, this is identical to
|
* In the latter case, this is identical to
|
||||||
* [Array.findIndex()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex).
|
* [Array.findIndex()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex).
|
||||||
* @param {string|function} propOrFn The property to test against, or the function to test with
|
* @param {string|function} propOrFn The property to test against, or the function to test with
|
||||||
* @param {*} [value] The expected value - required if using a property for the first argument
|
* @param {*} [value] The expected value - only applicable and required if using a property for the first argument
|
||||||
* @returns {*}
|
* @returns {*}
|
||||||
* @example
|
* @example
|
||||||
* collection.find('id', '123123...');
|
* collection.find('id', '123123...');
|
||||||
|
|||||||
Reference in New Issue
Block a user