Skip to contents

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

not.null("") # TRUE
#> [1] TRUE
not.null(NULL) # FALSE
#> [1] FALSE
if(not.null(45)) message("something") # yes
#> something