function hide(element) {
    if (!isHTMLElement(element)) {
      throw new TypeError("Bad argument. The given `element` is not a valid HTMLElement");
    }

    element.style.display = "none";
  }
/**
   * Hides an element
   * @param {HTMLElement} element
   */
Hides an element
@param {HTMLElement} element
Hides an element @param { HTMLElement } element
function hide(element) {
    if (!isHTMLElement(element)) {
      throw new TypeError("Bad argument. The given `element` is not a valid HTMLElement");
    }
    element.style.display = "none";
  }
function hide ( element ) { if ( ! isHTMLElement ( element ) ) { throw new TypeError ( "Bad argument. The given `element` is not a valid HTMLElement" ) ; } element . style . display = "none" ; }
Hides an element
 @param {HTMLElement} element
Hides an element @param { HTMLElement } element