domutils
    Preparing search index...

    Function prevElementSibling

    • Returns the previous element sibling of a node.

      Parameters

      • element: AnyNode

        The element to get the previous sibling of.

      Returns Element | null

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