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
immosquare-cleaner-0.1.60 node_modules/lodash/_basePick.js
immosquare-cleaner-0.1.59 node_modules/lodash/_basePick.js
immosquare-cleaner-0.1.58 node_modules/lodash/_basePick.js
immosquare-cleaner-0.1.57 node_modules/lodash/_basePick.js
immosquare-cleaner-0.1.56 node_modules/lodash/_basePick.js
immosquare-cleaner-0.1.55 node_modules/lodash/_basePick.js
immosquare-cleaner-0.1.54 node_modules/lodash/_basePick.js
immosquare-cleaner-0.1.53 node_modules/lodash/_basePick.js
immosquare-cleaner-0.1.52 node_modules/lodash/_basePick.js
trusty-cms-6.3.1 node_modules/lodash/_basePick.js
immosquare-cleaner-0.1.51 node_modules/lodash/_basePick.js
boring_generators-0.15.0 tmp/templates/app_template/node_modules/lodash/_basePick.js
clapton-0.0.26 lib/clapton/javascripts/node_modules/lodash/_basePick.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/lodash/_basePick.js
immosquare-cleaner-0.1.50 node_modules/lodash/_basePick.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/lodash/_basePick.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/lodash/_basePick.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/lodash/_basePick.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/lodash/_basePick.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/lodash/_basePick.js