BBmisc (version 1.13)

isProperlyNamed: Are all elements of a list / vector uniquely named?

Description

NA or “” are not allowed as names.

Usage

isProperlyNamed(x)

Value

[logical(1)].

Arguments

x

[vector]
The vector or list.

Examples

Run this code
isProperlyNamed(list(1))
isProperlyNamed(list(a = 1))
isProperlyNamed(list(a = 1, 2))

Run the code above in your browser using DataLab