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