method Node.prototype.getLastChildimport { Node } from "https://deno.land/x/ts_morph@21.0.1/mod.ts"; getLastChild<T extends Node>(condition?: (node: Node) => node is T): T | undefinedGets the last child by a condition. getLastChild(condition?: (node: Node) => boolean): Node | undefinedGets the last child by a condition. Gets the last child by a condition. Type ParametersT extends NodeParametersoptionalcondition: (node: Node) => node is T Condition. ReturnsT | undefinedGets the last child by a condition. Parametersoptionalcondition: (node: Node) => boolean Condition. ReturnsNode | undefined