mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 14:37:49 +00:00
Fix jsdoc for every and some.
This commit is contained in:
2
every.js
2
every.js
@@ -9,7 +9,7 @@
|
||||
* elements of empty arrays.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @category array
|
||||
* @category Array
|
||||
* @param {Array} array The array to iterate over.
|
||||
* @param {Function} predicate The function invoked per iteration.
|
||||
* @returns {boolean} Returns `true` if all elements pass the predicate check,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* elements of empty objects.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @category object
|
||||
* @category Object
|
||||
* @param {Object} object The object to iterate over.
|
||||
* @param {Function} predicate The function invoked per iteration.
|
||||
* @returns {boolean} Returns `true` if all properties pass the predicate check,
|
||||
|
||||
4
some.js
4
some.js
@@ -4,8 +4,8 @@
|
||||
* invoked with three arguments: (value, index, array).
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @category array
|
||||
* @param {Array|Object} array The array to iterate over.
|
||||
* @category Array
|
||||
* @param {Array} array The array to iterate over.
|
||||
* @param {Function} predicate The function invoked per iteration.
|
||||
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
||||
* else `false`.
|
||||
|
||||
Reference in New Issue
Block a user