Module

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

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

Gets the specified local symbol by name or returns undefined 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.

Returns

Symbol | undefined