"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
const isNode = typeof process !== 'undefined' && process.versions != null && process.versions.node != null;
const isBrowser = () => {
  if (process.env.NODE_ENV === 'TEST') {
    return true;
  }
  return typeof window !== 'undefined' && typeof window.document !== 'undefined' && !isNode;
};
var _default = isBrowser;
exports.default = _default;