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