not.logical {quickcode} | R Documentation |
Not logical
Description
Opposite of is.logical(). Check if entry is a logical object
Usage
not.logical(x)
Arguments
x |
vector entry |
Value
a boolean value to indicate if entry is logical
Examples
test.env <- TRUE
test.notenv <- 0
not.logical(test.env) # FALSE
not.logical(test.notenv) # TRUE
if(not.logical(test.notenv)) message("yes") # yes
[Package quickcode version 0.9.1 Index]