fdsfd
This commit is contained in:
parent
628618df89
commit
e031240dff
3749 changed files with 1120848 additions and 1 deletions
23
node_modules/lodash/at.js
generated
vendored
Normal file
23
node_modules/lodash/at.js
generated
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
var baseAt = require('./_baseAt'),
|
||||
flatRest = require('./_flatRest');
|
||||
|
||||
/**
|
||||
* Creates an array of values corresponding to `paths` of `object`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 1.0.0
|
||||
* @category Object
|
||||
* @param {Object} object The object to iterate over.
|
||||
* @param {...(string|string[])} [paths] The property paths to pick.
|
||||
* @returns {Array} Returns the picked values.
|
||||
* @example
|
||||
*
|
||||
* var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };
|
||||
*
|
||||
* _.at(object, ['a[0].b.c', 'a[1]']);
|
||||
* // => [3, 4]
|
||||
*/
|
||||
var at = flatRest(baseAt);
|
||||
|
||||
module.exports = at;
|
Loading…
Add table
Add a link
Reference in a new issue