DisplayNames

Constructors

Link copied to clipboard
constructor(locales: Locale, options: DisplayNamesOptions)
constructor(locales: ReadonlyArray<Locale>, options: DisplayNamesOptions)
constructor(locales: UnicodeBCP47LocaleIdentifier, options: DisplayNamesOptions)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun of(code: String): String?

Receives a code and returns a string based on the locale and options provided when instantiating Intl.DisplayNames()

Link copied to clipboard

Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current Intl/DisplayNames object.