IsNamedList: Check List Names
Description
Check to see if a list has names; also check to enforce that all names are
present and unique
Usage
IsNamedList(x, all.unique = TRUE, allow.empty = FALSE, pass.zero = FALSE)
Value
TRUE
if ..., otherwise FALSE
Arguments
- x
A list
- all.unique
Require that all names are unique from one another
- allow.empty
Allow empty (nchar = 0
) names
- pass.zero
Pass on zero-length lists