mirror of
https://github.com/actions/setup-node.git
synced 2025-12-16 18:21:48 +08:00
.
This commit is contained in:
19
node_modules/lodash/_basePick.js
generated
vendored
19
node_modules/lodash/_basePick.js
generated
vendored
@@ -1,19 +0,0 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user