check_object_exists: Check if an object exists in a given environment

Description Usage Arguments Details Value

View source: R/functions.r

Description

Check if an object exists in a given environment or any parent environment from the given environment in the way that the eval function does by default.

Usage

1

Arguments

obj

object to check. It can be given as a symbol or as a string.

envir

environment where the existence of object is checked.

Details

If the object is not found in the envir environment it is searched in any parent environment of envir.

Value

A list containing three elements:


envnames documentation built on Dec. 8, 2020, 9:07 a.m.