Module

x/ts_morph/mod.ts>Node.hasStructure

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

Gets if the node has a structure.

Parameters

node: T
  • Node to check.

Returns

node is T & { getStructure(): Structures; }