hasAttributes: Check if given object has certain attributes.

Description Usage Arguments Value

View source: R/hasAttributes.R

Description

Check if given object has certain attributes.

Usage

1
hasAttributes(obj, attributeNames)

Arguments

obj

[mixed]
Arbitrary R object.

attributeNames

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

Value

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


jakobbossek/JBmisc documentation built on May 18, 2019, 9:08 a.m.