Skip to main content
Module

x/ts_morph/mod.ts>Node#getParent

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

Get the node's parent.

Returns

Node<ts.Node> | undefined