"use strict";

Liferay.Loader.define("frontend-js-components-web$dom-helpers@5.2.0/cjs/hasClass", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    exports.__esModule = true;
    exports.default = hasClass;

    function hasClass(element, className) {
      if (element.classList) return !!className && element.classList.contains(className);
      return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
    }

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