is_empty: Check that a vector/element is not empty

View source: R/is_x.R

is_emptyR Documentation

Check that a vector/element is not empty

Description

Check for is.null & length 0. Vectorized check for is.na, empty string (""), optional check for whitespace only string.

Usage

is_empty(x, check_whitespace = TRUE)

Arguments

x

[vec] some scalar element

check_whitespace

[lgl] check for all-whitespace strings?

Value

[lgl]


epi-sam/SamsElves documentation built on June 12, 2025, 7 a.m.