method Intl.Collator.compare
Collator.compare(
x: string,
y: string,
): number

Parameters

x: string
y: string

Return Type

number