For LookupKey.Currency. Formats the number as a currency. Converts any number using the Intl library's NumberFormat feature. It shows the currency symbol, which is not actually built into the Intl library. Thus we need to support it by letting you supply a CurrencyCode into the constructor, along with a list of cultures that support the code.

Hierarchy (view full)

Constructors

Accessors

Methods

  • Evaluates the parameters to determine if its format() method should handle the value with those same parameters. It should always match the DataTypeLookupKey. It does not have to evaluate the cultureID, as there are implementations where the format() function handles eve

    Parameters

    • dataTypeLookupKey: string
    • cultureId: string

      Such as 'en-US' and 'en'

    Returns boolean

    Use its format() method when true. Do not use format() when false.

Generated using TypeDoc v0.25.12