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())

steinbaugh/goalie documentation built on Jan. 17, 2024, 5:16 p.m.