Extremely Popular
Go to Latest
method Node.prototype.getNextSiblingOrThrow
import { Node } from "https://dotland.deno.dev/x/fresh@1.1.5/src/dev/deps.ts";

Gets the next sibling or throws.

Parameters

optional
condition: (node: Node) => node is T
  • Optional condition for getting the next sibling.
optional
message: string | (() => string)

Gets the next sibling or throws.

Parameters

optional
condition: (node: Node) => boolean
  • Optional condition for getting the next sibling.
optional
message: string | (() => string)