@lesjoursfr/browser-tools
    Preparing search index...

    Function hasClass

    • Check if the node has the given class name.

      Parameters

      • node: HTMLElement

        the element to check

      • className: string

        a class name

      Returns boolean

      true if the node has the given class name