isProperlyNamed {BBmisc}R Documentation

Are all elements of a list / vector uniquely named?

Description

NA or “” are not allowed as names.

Usage

isProperlyNamed(x)

Arguments

x

[vector]
The vector or list.

Value

[logical(1)].

Examples

isProperlyNamed(list(1))
## [1] FALSE
isProperlyNamed(list(a=1))
## [1] TRUE
isProperlyNamed(list(a=1, 2))
## [1] FALSE

[Package BBmisc version 1.7 Index]