4
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2025-11-09 05:56:55 +00:00
setup-helm/node_modules/underscore/cjs/_shallowProperty.js
2022-01-26 21:54:27 +00:00

8 lines
222 B
JavaScript

// Internal helper to generate a function to obtain property `key` from `obj`.
function shallowProperty(key) {
return function(obj) {
return obj == null ? void 0 : obj[key];
};
}
module.exports = shallowProperty;