hasClass.d.ts 219 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 /** * Checks if a given element has a CSS class. * * @param element the element * @param className the CSS class name */ export default function hasClass(element: Element | SVGElement, className: string): boolean;