Skip to main content
Module

x/ts_morph/ts_morph.d.ts>Node#getNextSiblingIfKind

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

Gets the next sibling if it matches the specified kind.

Type Parameters

TKind extends SyntaxKind

Parameters

kind: TKind
  • Kind to check.

Returns

KindToNodeMappings[TKind] | undefined