getPromiseInfo: Get information about a promise

View source: R/defaultVarInfoHelpers.R

getPromiseInfoR Documentation

Get information about a promise

Description

Get information about a promise

Usage

getPromiseInfo(name, env)

Arguments

name

The name of the variable

env

The environment in which to evaluate

Value

A named list:

  • code: the expression that will be evaluated

  • environment: the environment where the promise is evaluated

  • evaluated: logical flag if the promise has been already evaluated

  • value: optional node; the value of the evaluated promise


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