supportedLocalesOf
fun supportedLocalesOf(locales: UnicodeBCP47LocaleIdentifier, options: ListFormatOptions = definedExternally): ReadonlyArray<UnicodeBCP47LocaleIdentifier>(source)
Returns an array containing those of the provided locales that are supported in list formatting without having to fall back to the runtime's default locale.
Parameters
locales
A string with a BCP 47 language tag, or an array of such strings. For the general form and interpretation of the
locales
argument, see theIntl
page.
options
An object. with some or all possible options.
fun supportedLocalesOf(locales: Locale, options: ListFormatOptions = definedExternally): ReadonlyArray<UnicodeBCP47LocaleIdentifier>(source)
fun supportedLocalesOf(locales: ReadonlyArray<UnicodeBCP47LocaleIdentifier>, options: ListFormatOptions = definedExternally): ReadonlyArray<UnicodeBCP47LocaleIdentifier>(source)
fun supportedLocalesOf(locales: ReadonlyArray<Locale>, options: ListFormatOptions = definedExternally): ReadonlyArray<UnicodeBCP47LocaleIdentifier>(source)