R/utils-validation.R
assert_character_vector.Rd
Validates that x is a character vector.
assert_character_vector(x, len = NULL, arg = deparse(substitute(x)))
Value to check
Optional integer specifying required length. If NULL, any length is allowed
Character string describing the argument (for error messages)
Invisibly returns x if validation passes