Check if given object has certain attributes.
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.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.