new attr(attribute, value) → {object}
Converts an attribute ID and value into a DSHI2 attribute object
Parameters:
Name | Type | Description |
---|---|---|
attribute |
string | A tracked entity instance (TEI) attribute ID. |
value |
string | The value for that attribute. |
- Source:
Returns:
- Type
- object
Example
attr('w75KJ2mc4zz', 'Elias')