getVarInEnv: Get variable from environment

View source: R/defaultVarInfoHelpers.R

getVarInEnvR Documentation

Get variable from environment

Description

Is basically a wrapper for get(name, envir=env), but does not force promises.

Usage

getVarInEnv(name, env)

Arguments

name

The name of the variable

env

The environment in which to evaluate

Value

Returns the value of the variable or a representation of a promise as returned by getPromiseVar


ManuelHentschel/vscDebugger documentation built on April 13, 2025, 8:59 p.m.