Given an object and an attribute key, the objectAttr function will return the value of the specified attribute.
objectAttr
object
Object with key-value pairs
Object
-
Yes
attr
The name of the attribute to be retrieved.
String/Text
Returns the selected attribute value of the object.
Any
N/A
Coming Soon.
Given the above object, objectAttr function for name will return John.
name
John
See also objectValues and objectKeys
objectValues
objectKeys
Last updated 1 year ago