Skip to contents

Return TRUE or FALSE after checking if a string is empty

Usage

is.empty(string)

Arguments

string

the string to be checked

Value

Returns TRUE or FALSE

Examples

string <- "r2resume"
string2 <- NULL
is.empty(string)
#> [1] FALSE
is.empty(string2)
#> [1] TRUE