method Node.prototype.getFirstChildimport { Node } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts"; getFirstChild<T extends Node>(condition?: (node: Node) => node is T): T | undefinedGets the first child by a condition. getFirstChild(condition?: (node: Node) => boolean): Node | undefinedGets the first child by a condition. Gets the first child by a condition. Type ParametersT extends NodeParametersoptionalcondition: (node: Node) => node is T Condition. ReturnsT | undefinedGets the first child by a condition. Parametersoptionalcondition: (node: Node) => boolean Condition. ReturnsNode | undefined