_keyInObj.js 225 B

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