7fife-backend/node_modules/underscore/amd/_keyInObj.js

12 lines
225 B
JavaScript
Raw Permalink Normal View History

2024-03-07 13:01:44 +00:00
define(function () {
// Internal `_.pick` helper function to determine whether `key` is an enumerable
// property name of `obj`.
function keyInObj(value, key, obj) {
return key in obj;
}
return keyInObj;
});