powered by
Opposite of is.logical(). Check if entry is a logical object
not.logical(x)
a boolean value to indicate if entry is logical
vector entry
test.env <- TRUE test.notenv <- 0 not.logical(test.env) # FALSE not.logical(test.notenv) # TRUE if(not.logical(test.notenv)) message("yes") # yes
Run the code above in your browser using DataLab