text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
  exports.default = (obj) => {
      if (typeof obj === 'object' && obj !== null) {
          if (typeof Object.getPrototypeOf === 'function') {
              const prototype = Object.getPrototypeOf(obj);
              return prototype === Object.prototype || prototype === null;
          }
          return Object.prototype.toString.call(obj) === '[object Object]';
      }
      return false;
  };
  