text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = _default;
  
  /**
   * checks if given element is focused
   * @param  {HTMLElement} elem  element to check
   * @return {Boolean}           true if element is focused
   */
  function _default(elem) {
    return elem === document.activeElement;
  }