UNPKG

dom-helpers

Version:
7 lines (6 loc) 176 B
/** * Collects all previous and next sibling elements of a given element. * * @param node the element */ export default function siblings(node: Element | null): Element[];