import { Node } from "https://deno.land/x/ts_morph@21.0.1/mod.ts";
Gets the last child if it matches the specified syntax kind.
Type Parameters
TKind extends SyntaxKind
Returns
KindToNodeMappings[TKind] | undefined
x/ts_morph/mod.ts>Node#getLastChildIfKind
import { Node } from "https://deno.land/x/ts_morph@21.0.1/mod.ts";
Gets the last child if it matches the specified syntax kind.