Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fresh/src/dev/deps.ts>Node#getParentOrThrow

The next-gen web framework.
Extremely Popular
Go to Latest
method Node.prototype.getParentOrThrow
import { Node } from "https://deno.land/x/fresh@1.1.3/src/dev/deps.ts";

Gets the parent or throws an error if it doesn't exist.

Returns

Node<ts.Node>