Skip to contents

Check if entry is not empty

Usage

not.empty(x)

is.empty(x)

Arguments

x

vector entry

Value

a boolean value to indicate if entry is empty

Examples

not.empty("empty") # TRUE
#> [1] TRUE
not.empty('') # FALSE
#> [1] FALSE
not.empty(y<-NULL) # FALSE
#> [1] FALSE
if(not.empty('')) message("yes") # NULL