mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +00:00
Add a little more detail about value
This commit is contained in:
parent
2aae20085b
commit
fba3508079
2 changed files with 3 additions and 3 deletions
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
|
||||
* [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 {*} [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 {*}
|
||||
* @example
|
||||
* collection.find('id', '123123...');
|
||||
|
|
@ -108,7 +108,7 @@ class Collection extends Map {
|
|||
* In the latter case, this is identical to
|
||||
* [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 {*} [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 {*}
|
||||
* @example
|
||||
* collection.find('id', '123123...');
|
||||
|
|
|
|||
Loading…
Reference in a new issue