is_defined: Test existance of a variable

Description Usage Arguments Examples

Description

A utility function that tests whether an object has been defined by the given name in the specified environment.

Usage

1

Arguments

name

the name of the object to search for

envir

the environment to search in; defaults to global

Examples

1
2
x <- 42
is_defined("x") #TRUE

MichielNoback/bintestr documentation built on May 9, 2019, 3:27 a.m.