/** * @name isHover * @namespace js.is * @type Function * @platform js * @status stable * * Check if the mouse is isHover the passed HTMLElement * * @param {HTMLElement} $elm The HTMLElement to check * * @snippet __isHover($1) * * @todo tests * * @example js * import { __isHover } from '@lotsof/sugar/dom' * const $myElm = document.querySelector('.my-elm') * if (__isHover($myElm)) { * // do something * } * * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ export default function __isHover($elm: HTMLElement): boolean;