Module

x/ts_morph/mod.ts>Node.hasExpression

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

Gets if the node has an expression.

Parameters

node: T
  • Node to check.

Returns

node is T & { getExpression(): Expression; }