"use strict";

Liferay.Loader.define("portlet-configuration-css-web$dom-helpers@5.2.0/cjs/isWindow", ['module', 'exports', 'require', '@portlet-configuration-css-web$babel/runtime/helpers/interopRequireDefault', './isDocument'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    var _interopRequireDefault = require("@portlet-configuration-css-web$babel/runtime/helpers/interopRequireDefault");

    exports.__esModule = true;
    exports.default = isWindow;

    var _isDocument = _interopRequireDefault(require("./isDocument"));

    function isWindow(node) {
      if ('window' in node && node.window === node) return node;
      if ((0, _isDocument.default)(node)) return node.defaultView || false;
      return false;
    }

    module.exports = exports["default"];
  }
});
//# sourceMappingURL=isWindow.js.map