hasAttributes {BBmisc} | R Documentation |
Check if given object has certain attributes.
hasAttributes(obj, attribute.names)
obj |
[mixed] |
attribute.names |
[ |
[logical(1)
]
TRUE
if object x
contains all attributes from attributeNames
and FALSE
otherwise.