Test if in object is a promise

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