Sha256: 6ab2e82a534e80f3aef3bb6e83d1415e9c7529d0216a2c5734a42203520b737f

Contents?: true

Size: 501 Bytes

Versions: 270

Compression:

Stored size: 501 Bytes

Contents

var basePickBy = require('./_basePickBy'),
    hasIn = require('./hasIn');

/**
 * The base implementation of `_.pick` without support for individual
 * property identifiers.
 *
 * @private
 * @param {Object} object The source object.
 * @param {string[]} paths The property paths to pick.
 * @returns {Object} Returns the new object.
 */
function basePick(object, paths) {
  return basePickBy(object, paths, function(value, path) {
    return hasIn(object, path);
  });
}

module.exports = basePick;

Version data entries

270 entries across 269 versions & 28 rubygems

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