Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUserAttribute

Object representing a user attribute. An attribute is represented by its type, which matches 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.

Hierarchy

  • IUserAttribute

Index

Methods

getBooleanValue

  • getBooleanValue(): undefined | boolean

getDateValue

  • getDateValue(): undefined | Date

getNumberValue

  • getNumberValue(): undefined | number

getStringValue

  • getStringValue(): undefined | string

getType

getURLValue

  • getURLValue(): undefined | URL

getValue

  • getValue(): unknown

Generated using TypeDoc