check-scalar-hasNames: Does the input have names?

check-scalar-hasNamesR Documentation

Does the input have names?

Description

Does the input have names?

Usage

hasNames(x)

Arguments

x

Object.

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2019-08-10.

See Also

assertive.properties::has_names().

Examples

## TRUE ====
hasNames(datasets::mtcars)

## FALSE ====
hasNames(matrix())
hasNames(data.frame())

acidgenomics/r-goalie documentation built on Jan. 12, 2024, 4:15 a.m.