method Node.prototype.getNextSiblingimport { Node } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts"; getNextSibling<T extends Node>(condition?: (node: Node) => node is T): T | undefinedGets the next sibling. getNextSibling(condition?: (node: Node) => boolean): Node | undefinedGets the next sibling. Gets the next sibling. Type ParametersT extends NodeParametersoptionalcondition: (node: Node) => node is T Optional condition for getting the next sibling. ReturnsT | undefinedGets the next sibling. Parametersoptionalcondition: (node: Node) => boolean Optional condition for getting the next sibling. ReturnsNode | undefined