isEmpty.js 325 B

1234567891011
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.isEmpty = void 0;
  4. const isEmpty = (obj) => {
  5. for (const key in obj)
  6. if (Object.prototype.hasOwnProperty.call(obj, key))
  7. return false;
  8. return true;
  9. };
  10. exports.isEmpty = isEmpty;
  11. //# sourceMappingURL=isEmpty.js.map