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;
}
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;
}
- Plural
Rules (locales?, options?): Intl.PluralRulesConstructor Parameters
Optional
locales: string | readonly string[]Optional
options: PluralRulesOptions
Returns Intl.PluralRules
- Plural
Rules (locales?, options?): Intl.PluralRulesConstructor Parameters
Optional
locales: LocalesArgumentOptional
options: PluralRulesOptions
Returns Intl.PluralRules
Index
Constructors
Methods
Constructors
constructor
- new
Plural (locales?, options?): Intl.PluralRulesRules Constructor Parameters
Optional
locales: LocalesArgumentOptional
options: PluralRulesOptions
Returns Intl.PluralRules
Methods
supportedLocalesOf
- supported
Locales (locales, options?): string[]Of Parameters
- locales: LocalesArgument
Optional
options: {
localeMatcher?: "lookup" | "best fit";
}Optional
localeMatcher ?: "lookup" | "best fit"
Returns string[]