/** * Check whether an element has a specific class * * @param target The element to be checked * @param className The class to be checked * * @returns `true` if the element has the class, `false` otherwise */ export default function hasClass(target: Element, className: string): boolean;