hasAttributes: Check if given object has certain attributes.

View source: R/hasAttributes.R

hasAttributesR Documentation

Check if given object has certain attributes.

Description

Check if given object has certain attributes.

Usage

hasAttributes(obj, attribute.names)

Arguments

obj

[mixed]
Arbitrary R object.

attribute.names

[character]
Vector of strings, i.e., attribute names.

Value

[logical(1)] TRUE if object x contains all attributes from attributeNames and FALSE otherwise.


BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.

Related to hasAttributes in BBmisc...