BBmisc (version 1.10)

isProperlyNamed: 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

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

Run the code above in your browser using DataCamp Workspace