Sha256: 4cbc888f95de895af4c7ded54753637ae8217068f1fb9465225fed759dd15c20

Contents?: true

Size: 559 Bytes

Versions: 270

Compression:

Stored size: 559 Bytes

Contents

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;

Version data entries

270 entries across 269 versions & 28 rubygems

Version Path
disco_app-0.18.2 test/dummy/node_modules/lodash/at.js
sumomo-0.8.15 data/sumomo/api_modules/node_modules/lodash/at.js
trusty-cms-5.0.7 node_modules/lodash/at.js
appmap-0.72.2 ./node_modules/lodash/at.js
trusty-cms-5.0.6 node_modules/lodash/at.js
appmap-0.72.1 ./node_modules/lodash/at.js
appmap-0.72.0 ./node_modules/lodash/at.js
trusty-cms-5.0.5 node_modules/lodash/at.js
trusty-cms-5.0.4 node_modules/lodash/at.js
appmap-0.71.0 ./node_modules/lodash/at.js
disco_app-0.16.1 test/dummy/node_modules/lodash/at.js
appmap-0.70.2 ./node_modules/lodash/at.js
sumomo-0.8.14 data/sumomo/api_modules/node_modules/lodash/at.js
appmap-0.70.1 ./node_modules/lodash/at.js
appmap-0.70.0 ./node_modules/lodash/at.js
appmap-0.69.0 ./node_modules/lodash/at.js
sumomo-0.8.13 data/sumomo/api_modules/node_modules/lodash/at.js
appmap-0.68.2 ./node_modules/lodash/at.js
appmap-0.68.1 ./node_modules/lodash/at.js
disco_app-0.15.2 test/dummy/node_modules/lodash/at.js