Strophe.js
    Preparing search index...

    Function isTagEqual

    • Compare an element's tag name with a string. This function is case sensitive.

      Parameters

      • el: Element

        A DOM element.

      • name: string

        The element name.

      Returns boolean

      true if the element's tag name matches el, and false otherwise.

      Strophe.isTagEqual