Skip to contents

Check if scalars are blank

Usage

is_blank(x, trim = TRUE, ...)

Arguments

x

Object to check its emptiness.

trim

Logical.

...

Additional arguments for base::sapply().

Value

Logicals.

Examples

is_blank(list(c(a = "", b = NA_character_), NULL))
#> [[1]]
#> [1] TRUE TRUE
#> 
#> [[2]]
#> [1] TRUE
#>