Promise info

is_promise(x)

promise_info(x)

Arguments

x

unquoted object name

See also

Other promise tools: uneval()

Examples

x <- 10
is_promise(x)
#> [1] FALSE
(function(x) is_promise(x))(x = 10)
#> [1] TRUE