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