Files
Ammaar Reshi d6025af146 Initial commit
2025-01-04 14:06:53 +00:00

7 lines
176 B
TypeScript

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