is-object.js 400 B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.default = (function (value) {
  4. /**
  5. * isObject({}) => true
  6. * isObject([1, 2, 3]) => true
  7. * isObject(Function) => true
  8. * isObject(null) => false
  9. */
  10. var type = typeof value;
  11. return value !== null && type === 'object' || type === 'function';
  12. });
  13. //# sourceMappingURL=is-object.js.map