Interface CollatorConstructor
interface CollatorConstructor {
new CollatorConstructornew (locales?: string | string[], options?: CollatorOptions): Intl.Collator;
new CollatorConstructornew (locales?: LocalesArgument, options?: CollatorOptions): Intl.Collator;
supportedLocalesOf(locales: LocalesArgument, options?: CollatorOptions): string[];
(locales?: LocalesArgument, options?: CollatorOptions): Intl.Collator;
}
new CollatorConstructornew (locales?: string | string[], options?: CollatorOptions): Intl.Collator;
new CollatorConstructornew (locales?: LocalesArgument, options?: CollatorOptions): Intl.Collator;
supportedLocalesOf(locales: LocalesArgument, options?: CollatorOptions): string[];
(locales?: LocalesArgument, options?: CollatorOptions): Intl.Collator;
}
- Collator
Constructor (locales?, options?): Intl.Collator Parameters
Optional
locales: LocalesArgumentOptional
options: CollatorOptions
Returns Intl.Collator
Index
Constructors
Methods
Constructors
constructor
- new
Collator (locales?, options?): Intl.CollatorConstructor Parameters
Optional
locales: string | string[]Optional
options: CollatorOptions
Returns Intl.Collator
- new
Collator (locales?, options?): Intl.CollatorConstructor Parameters
Optional
locales: LocalesArgumentOptional
options: CollatorOptions
Returns Intl.Collator
Methods
supportedLocalesOf
- supported
Locales (locales, options?): string[]Of Parameters
- locales: LocalesArgument
Optional
options: CollatorOptions
Returns string[]