Module

x/ts_morph/mod.ts>Node.hasName

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

Gets if the node has a name.

Parameters

node: T
  • Node to check.

Returns

node is T & { getName(): string; getNameNode(): Node; }