import { Node } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";
Gets the parent if it's a certain syntax kind.
Type Parameters
TKind extends SyntaxKind
Parameters
kind: TKind
Returns
KindToNodeMappings[TKind] | undefined
import { Node } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";
Gets the parent if it's a certain syntax kind.