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/goalie documentation built on Dec. 11, 2023, 11:36 p.m.