* 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
(object, paths)
| 14375 | * @returns {Object} Returns the new object. |
| 14376 | */ |
| 14377 | function basePick(object, paths) { |
| 14378 | return basePickBy(object, paths, function(value, path) { |
| 14379 | return hasIn(object, path); |
| 14380 | }); |
| 14381 | } |
| 14382 | |
| 14383 | /** |
| 14384 | * The base implementation of `_.pickBy` without support for iteratee shorthands. |
no test coverage detected