import { Node } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Gets the first descendant by a condition or throws.
Parameters
optional
condition: (node: Node) => boolean- Condition.
x/deno2node/src/deps.deno.ts>Node#getFirstDescendantOrThrow
import { Node } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Gets the first descendant by a condition or throws.