Variable ListFormat

ListFormat: {
    prototype: Intl.ListFormat;
    supportedLocalesOf(locales: LocalesArgument, options?: Pick<ListFormatOptions, "localeMatcher">): string[];
    new (locales?: LocalesArgument, options?: ListFormatOptions): Intl.ListFormat;
}

Type declaration

  • prototype: Intl.ListFormat
  • supportedLocalesOf:function
    • 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

      Returns string[]

      An array of strings representing a subset of the given locale tags that are supported in list formatting without having to fall back to the runtime's default locale.

      MDN.