Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method VariableDeclaration.prototype.getVariableStatementOrThrow
import { VariableDeclaration } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Gets the corresponding variable statement if it exists. Throws for variable declarations in for statements.

Parameters

optional
message: string | (() => string)