Module

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

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

Gets the specified local symbol by name or throws if it doesn't exist.

WARNING: The symbol table of locals is not exposed publicly by the compiler. Use this at your own risk knowing it may break.

Parameters

name: string
  • Name of the local symbol.
optional
message: string | (() => string)

Returns

Symbol