method Node.prototype.getLastChildOrThrowimport { Node } from "https://deno.land/x/fresh@1.1.5/src/dev/deps.ts"; getLastChildOrThrow<T extends Node>(condition?: (node: Node) => node is T, message?: string | (() => string)): TGets the last child by a condition or throws. getLastChildOrThrow(condition?: (node: Node) => boolean, message?: string | (() => string)): NodeGets the last child by a condition or throws. Gets the last child by a condition or throws. Type ParametersT extends NodeParametersoptionalcondition: (node: Node) => node is T Condition. optionalmessage: string | (() => string)ReturnsTGets the last child by a condition or throws. Parametersoptionalcondition: (node: Node) => boolean Condition. optionalmessage: string | (() => string)ReturnsNode