Methods
getBooleanValue
- getBooleanValue(): undefined | boolean
-
Returns undefined | boolean
getDateValue
- getDateValue(): undefined | Date
getNumberValue
- getNumberValue(): undefined | number
-
Returns undefined | number
getStringValue
- getStringValue(): undefined | string
-
Returns undefined | string
getURLValue
- getURLValue(): undefined | URL
Object representing a user attribute. An attribute is represented by it's type, which maches the one you've used when setting the attribute, and its value.
You can get the attribute using the generic getter, or use the typed ones that will cast the value or return undefined if the type doesn't match.