Interface Collator

interface Collator {
    compare(x: string, y: string): number;
    resolvedOptions(): ResolvedCollatorOptions;
}

Methods

  • Parameters

    • x: string
    • y: string

    Returns number