domutils
    Preparing search index...

    Function prevElementSibling

    • Returns the previous element sibling of a node.

      Parameters

      • elem: AnyNode

        The element to get the previous sibling of.

      Returns null | Element

      elem's previous sibling that is a tag, or null if there is no previous sibling.