is_name_vector: Check for proper name vector

View source: R/utils.R

is_name_vectorR Documentation

Check for proper name vector

Description

This function checks whether the input is a proper name vector, i.e., a vector of (non-trivial) character values.

Usage

is_name_vector(x, error = TRUE)

Arguments

x

Any object.

error

In the case that x is not a proper name vector, either TRUE (default) to throw an error or FALSE to return invisibly FALSE.

Value

If error = TRUE, either invisibly TRUE or an error is thrown. If error = FALSE, invisibly TRUE or FALSE.


ino documentation built on Sept. 29, 2023, 5:09 p.m.