Skip to main content
Module

x/ts_morph/mod.ts>Node#getNextSiblingOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method Node.prototype.getNextSiblingOrThrow
import { Node } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Gets the next sibling or throws.

Parameters

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

Gets the next sibling or throws.

Parameters

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