Check if entry is not an environment object
Value
a boolean value to indicate if entry is an environment
Examples
test.env <- new.env()
test.notenv <- list(t=1)
not.environment(test.env) # FALSE
#> [1] FALSE
not.environment(test.notenv) # TRUE
#> [1] TRUE
if(not.environment(test.notenv)) message("yes") # yes
#> yes