Add a little more detail about value

This commit is contained in:
Schuyler Cebulskie
2016-09-12 02:52:32 -04:00
parent 2aae20085b
commit fba3508079
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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...');