method Node.prototype.getNextSiblingOrThrowimport { Node } from "https://dotland.deno.dev/x/fresh@1.1.5/src/dev/deps.ts"; getNextSiblingOrThrow<T extends Node>(condition?: (node: Node) => node is T, message?: string | (() => string)): TGets the next sibling or throws. getNextSiblingOrThrow(condition?: (node: Node) => boolean, message?: string | (() => string)): NodeGets the next sibling or throws. Gets the next sibling or throws. Type ParametersT extends NodeParametersoptionalcondition: (node: Node) => node is T Optional condition for getting the next sibling. optionalmessage: string | (() => string)ReturnsTGets the next sibling or throws. Parametersoptionalcondition: (node: Node) => boolean Optional condition for getting the next sibling. optionalmessage: string | (() => string)ReturnsNode