Interface PluralRulesConstructor

interface PluralRulesConstructor {
    new PluralRulesConstructornew (locales?: LocalesArgument, options?: PluralRulesOptions): Intl.PluralRules;
    supportedLocalesOf(locales: LocalesArgument, options?: {
        localeMatcher?: "lookup" | "best fit";
    }): string[];
    (locales?: string | readonly string[], options?: PluralRulesOptions): Intl.PluralRules;
    (locales?: LocalesArgument, options?: PluralRulesOptions): Intl.PluralRules;
}

Constructors

Methods

Constructors

Methods

  • Parameters

    • locales: LocalesArgument
    • Optionaloptions: {
          localeMatcher?: "lookup" | "best fit";
      }
      • OptionallocaleMatcher?: "lookup" | "best fit"

    Returns string[]