Learn R Programming

assertions (version 0.1.0)

has_all_names: Check if a named object has all specified names

Description

This function returns a logical value indicating whether the object x has all the names specified in names.

Usage

has_all_names(x, names)

Value

A logical value indicating whether x has all the names specified in names

Arguments

x

a named object

names

A character vector of names to check for in x.