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

    Function hasAttribute

    • Check if the node has the given attribute.

      Parameters

      • node: HTMLElement
      • attribute: string

      Returns boolean

      true or false