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