_has.js 237 B

12345678910
  1. define(['./_setup'], function (_setup) {
  2. // Internal function to check whether `key` is an own property name of `obj`.
  3. function has(obj, key) {
  4. return obj != null && _setup.hasOwnProperty.call(obj, key);
  5. }
  6. return has;
  7. });