validate_not_empty: Validate an object is not length 0, empty, blank etc.

View source: R/validations.R

validate_not_emptyR Documentation

Validate an object is not length 0, empty, blank etc.

Description

Designed to also catch missing args when called inside a function.

Usage

validate_not_empty(x)

Arguments

x

[any] some argument to check

Value

[lgl] FALSE if empty in some way, TRUE otherwise

See Also

Other validations: is_an_error(), validate_dir_exists()


vmTools documentation built on Aug. 8, 2025, 7:28 p.m.