Skip to contents

A longer description of the function

Usage

remove_if_exists(obj)

Arguments

obj

A description of the argument

Value

A description of the return value

Examples

obj <- 1L
exists("obj")
#> [1] TRUE
remove_if_exists(obj)
exists("obj")
#> [1] FALSE

exists("obj2")
#> [1] FALSE
remove_if_exists(obj2)