import { Node } from "https://deno.land/x/ts_morph@21.0.1/mod.ts";
Goes up the parents (ancestors) of the node while a condition is true. Throws if the initial parent doesn't match the condition.
Type Parameters
T extends Node
Goes up the parents (ancestors) of the node while a condition is true. Throws if the initial parent doesn't match the condition.