_keyInObj.js 196 B

1234567
  1. // Internal `_.pick` helper function to determine whether `key` is an enumerable
  2. // property name of `obj`.
  3. function keyInObj(value, key, obj) {
  4. return key in obj;
  5. }
  6. module.exports = keyInObj;