import { Node } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";
Gets the parent if it matches a certain condition or throws.
Type Parameters
T extends Node
Gets the parent if it matches a certain condition or throws.
x/deno2node/src/deps.deno.ts>Node#getParentIfOrThrow
import { Node } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";
Gets the parent if it matches a certain condition or throws.
Gets the parent if it matches a certain condition or throws.