mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Tweak docs for _.at, _.omit, and _.pick. [ci skip]
This commit is contained in:
10
lodash.js
10
lodash.js
@@ -252,9 +252,7 @@
|
|||||||
* The base implementation of `_.at` without support for strings or individual
|
* The base implementation of `_.at` without support for strings or individual
|
||||||
* key arguments.
|
* key arguments.
|
||||||
*
|
*
|
||||||
* @static
|
* @private
|
||||||
* @memberOf _
|
|
||||||
* @category Collections
|
|
||||||
* @param {Array|Object} collection The collection to iterate over.
|
* @param {Array|Object} collection The collection to iterate over.
|
||||||
* @param {number[]|string[]} [keys] The keys of elements to pick.
|
* @param {number[]|string[]} [keys] The keys of elements to pick.
|
||||||
* @returns {Array} Returns the new array of picked elements.
|
* @returns {Array} Returns the new array of picked elements.
|
||||||
@@ -3664,7 +3662,7 @@
|
|||||||
* @param {Array|Object|string} collection The collection to iterate over.
|
* @param {Array|Object|string} collection The collection to iterate over.
|
||||||
* @param {...(number|number[]|string|string[])} [keys] The keys of elements
|
* @param {...(number|number[]|string|string[])} [keys] The keys of elements
|
||||||
* to pick, specified as individual keys or arrays of keys.
|
* to pick, specified as individual keys or arrays of keys.
|
||||||
* @returns {Array} Returns the array of picked elements.
|
* @returns {Array} Returns the new array of picked elements.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
* _.at(['a', 'b', 'c', 'd', 'e'], [0, 2, 4]);
|
* _.at(['a', 'b', 'c', 'd', 'e'], [0, 2, 4]);
|
||||||
@@ -6851,7 +6849,7 @@
|
|||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Objects
|
* @category Objects
|
||||||
* @param {Object} object The source object.
|
* @param {Object} object The source object.
|
||||||
* @param {Function|...string|string[]} [predicate] The function called per
|
* @param {Function|...(string|string[])} [predicate] The function called per
|
||||||
* iteration or property names to omit, specified as individual property
|
* iteration or property names to omit, specified as individual property
|
||||||
* names or arrays of property names.
|
* names or arrays of property names.
|
||||||
* @param {*} [thisArg] The `this` binding of `predicate`.
|
* @param {*} [thisArg] The `this` binding of `predicate`.
|
||||||
@@ -6919,7 +6917,7 @@
|
|||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Objects
|
* @category Objects
|
||||||
* @param {Object} object The source object.
|
* @param {Object} object The source object.
|
||||||
* @param {Function|...string|string[]} [predicate] The function called per
|
* @param {Function|...(string|string[])} [predicate] The function called per
|
||||||
* iteration or property names to pick, specified as individual property
|
* iteration or property names to pick, specified as individual property
|
||||||
* names or arrays of property names.
|
* names or arrays of property names.
|
||||||
* @param {*} [thisArg] The `this` binding of `predicate`.
|
* @param {*} [thisArg] The `this` binding of `predicate`.
|
||||||
|
|||||||
Reference in New Issue
Block a user