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
clapton-0.0.19 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/lodash/at.js
immosquare-cleaner-0.1.49 node_modules/lodash/at.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/lodash/at.js
immosquare-cleaner-0.1.48 node_modules/lodash/at.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.6 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.5 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.4 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.3 lib/clapton/javascripts/node_modules/lodash/at.js
clapton-0.0.2 lib/clapton/javascripts/node_modules/lodash/at.js