mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 19:07:49 +00:00
Document more default params. [ci skip]
This commit is contained in:
committed by
John-David Dalton
parent
a898c3d7bc
commit
cb94b03e3e
@@ -456,7 +456,7 @@
|
|||||||
* @private
|
* @private
|
||||||
* @param {Object} object The object to compare.
|
* @param {Object} object The object to compare.
|
||||||
* @param {Object} other The other object to compare.
|
* @param {Object} other The other object to compare.
|
||||||
* @param {boolean[]} orders The order to sort by for each property.
|
* @param {boolean[]|string[]} orders The order to sort by for each property.
|
||||||
* @returns {number} Returns the sort order indicator for `object`.
|
* @returns {number} Returns the sort order indicator for `object`.
|
||||||
*/
|
*/
|
||||||
function compareMultiple(object, other, orders) {
|
function compareMultiple(object, other, orders) {
|
||||||
@@ -5580,7 +5580,7 @@
|
|||||||
* @category Array
|
* @category Array
|
||||||
* @param {Array} array The array to inspect.
|
* @param {Array} array The array to inspect.
|
||||||
* @param {boolean} [isSorted] Specify the array is sorted.
|
* @param {boolean} [isSorted] Specify the array is sorted.
|
||||||
* @param {Function|Object|string} [iteratee] The function invoked per iteration.
|
* @param {Function|Object|string} [iteratee=_.identity] The function invoked per iteration.
|
||||||
* @returns {Array} Returns the new duplicate-value-free array.
|
* @returns {Array} Returns the new duplicate-value-free array.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
@@ -5808,7 +5808,7 @@
|
|||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Array
|
* @category Array
|
||||||
* @param {...Array} [arrays] The arrays to process.
|
* @param {...Array} [arrays] The arrays to process.
|
||||||
* @param {Function} [iteratee] The function to combine grouped values.
|
* @param {Function} [iteratee=_.identity] The function to combine grouped values.
|
||||||
* @returns {Array} Returns the new array of grouped elements.
|
* @returns {Array} Returns the new array of grouped elements.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
@@ -6883,8 +6883,8 @@
|
|||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Collection
|
* @category Collection
|
||||||
* @param {Array|Object|string} collection The collection to iterate over.
|
* @param {Array|Object|string} collection The collection to iterate over.
|
||||||
* @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.
|
* @param {Function[]|Object[]|string[]} [iteratees=[_.identity]] The iteratees to sort by.
|
||||||
* @param {boolean[]} [orders] The sort orders of `iteratees`.
|
* @param {boolean[]|string[]} [orders] The sort orders of `iteratees`.
|
||||||
* @param- {Object} [guard] Enables use as an iteratee for functions like `_.reduce`.
|
* @param- {Object} [guard] Enables use as an iteratee for functions like `_.reduce`.
|
||||||
* @returns {Array} Returns the new sorted array.
|
* @returns {Array} Returns the new sorted array.
|
||||||
* @example
|
* @example
|
||||||
@@ -11300,7 +11300,7 @@
|
|||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Math
|
* @category Math
|
||||||
* @param {Array|Object|string} collection The collection to iterate over.
|
* @param {Array|Object|string} collection The collection to iterate over.
|
||||||
* @param {Function|Object|string} [iteratee] The function invoked per iteration.
|
* @param {Function|Object|string} [iteratee=_.identity] The function invoked per iteration.
|
||||||
* @returns {*} Returns the maximum value.
|
* @returns {*} Returns the maximum value.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
@@ -11334,7 +11334,7 @@
|
|||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Math
|
* @category Math
|
||||||
* @param {Array|Object|string} collection The collection to iterate over.
|
* @param {Array|Object|string} collection The collection to iterate over.
|
||||||
* @param {Function|Object|string} [iteratee] The function invoked per iteration.
|
* @param {Function|Object|string} [iteratee=_.identity] The function invoked per iteration.
|
||||||
* @returns {*} Returns the minimum value.
|
* @returns {*} Returns the minimum value.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
@@ -11387,7 +11387,7 @@
|
|||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Math
|
* @category Math
|
||||||
* @param {Array|Object|string} collection The collection to iterate over.
|
* @param {Array|Object|string} collection The collection to iterate over.
|
||||||
* @param {Function|Object|string} [iteratee] The function invoked per iteration.
|
* @param {Function|Object|string} [iteratee=_.identity] The function invoked per iteration.
|
||||||
* @param- {Object} [guard] Enables use as an iteratee for functions like `_.map`.
|
* @param- {Object} [guard] Enables use as an iteratee for functions like `_.map`.
|
||||||
* @returns {number} Returns the sum.
|
* @returns {number} Returns the sum.
|
||||||
* @example
|
* @example
|
||||||
|
|||||||
Reference in New Issue
Block a user