has_names: Does object have names?

View source: R/is_are.R

has_namesR Documentation

Does object have names?

Description

A wrapper for names to test for existence of names.

Usage

has_names(x)

Arguments

x

(any object) The object to test.

Value

Logical scalar.

Examples

has_names(iris)
has_names(1:4)

Deleetdk/kirkegaard documentation built on May 2, 2024, 7:12 p.m.