Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno2node/src/deps.deno.ts>VariableDeclaration#getVariableStatement

Compile your Deno project to run on Node.js.
Go to Latest
method VariableDeclaration.prototype.getVariableStatement
import { VariableDeclaration } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

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