isPromise: Test if an object is a promise

View source: R/defaultVarInfoHelpers.R

isPromiseR Documentation

Test if an object is a promise

Description

Test if an object is a promise

Usage

isPromise(name, env, strict = TRUE)

Arguments

name

character(1L) the name of the object

env

environment the environment of the object

strict

logical(1L) if strict is TRUE (the default), evaluated promises return with FALSE

Value

TRUE or FALSE


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