semblance-dev/node_modules/dom-helpers/cjs/siblings.d.ts
2025-12-19 19:26:16 +00:00

6 lines
176 B
TypeScript
Executable file

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