Skip to contents

Return TRUE if the value is blank.

Usage

is_blank(x)

Arguments

x

A vector

Value

A boolean vector with the return from the condition check.

Examples


is_blank("")
#> [1] TRUE

is_blank(NA_character_)
#> [1] TRUE

is_blank(" ")
#> [1] TRUE

is_blank("-")
#> [1] TRUE

is_blank(NULL)
#> [1] TRUE

is_blank(NaN)
#> [1] TRUE