_keyInObj.js 183 B

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