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