not.null {quickcode} | R Documentation |
Not NULL
Description
Opposite of is.null(). Check if entry is not NULL
Usage
not.null(x)
Arguments
x |
vector entry |
Value
a boolean value to indicate if entry is NULL
Examples
is.null("") # FALSE
not.null("") # TRUE
not.null(NULL) # FALSE
if(not.null(45)) message("something") # yes
[Package quickcode version 0.9.1 Index]