Skip to main content
Module

x/ts_morph/mod.ts>Node#isKind

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

Returns if the node is the specified kind.

This is a type guard.

Parameters

kind: TKind
  • Syntax kind.