Skip to main content
Module

x/ts_morph/mod.ts>Node#getNextSibling

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

Gets the next sibling.

Parameters

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

Returns

T | undefined

Gets the next sibling.

Parameters

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

Returns

Node | undefined