src/http/get-index/ssr.js
/**
 * Returns the previous element sibling of a node.
 *
 * @param elem The element to get the previous sibling of.
 * @returns `elem`'s previous sibling that is a tag.
 */
Returns the previous element sibling of a node.
@param elem The element to get the previous sibling of.
@returns `elem`'s previous sibling that is a tag.
Returns the previous element sibling of a node . @param elem The element to get the previous sibling of . @returns ` elem ` ' s previous sibling that is a tag .
function prevElementSibling(elem) {
  var _a;
  var prev = elem.prev;
  while (prev !== null && !domhandler_1$4.isTag(prev))
  _a = prev, prev = _a.prev;
  return prev;
}
function prevElementSibling ( elem ) { var _a ; var prev = elem . prev ; while ( prev !== null && ! domhandler_1$4 . isTag ( prev ) ) _a = prev , prev = _a . prev ; return prev ; }
Returns the previous element sibling of a node.
Returns the previous element sibling of a node .