Lokalized JavaScript — Version 1.0.0
    Preparing search index...

    Type Alias LocaleMatchResult

    LocaleMatchResult: Readonly<
        {
            consideredLocales: readonly string[];
            effectiveWeight: number
            | null;
            fallbackLocale: string;
            isMatch: boolean;
            languageRange: string | WeightedLanguageRange | null;
            locale: string | null;
            matchType:
                | "none"
                | "exact"
                | "canonical"
                | "cldr-fallback"
                | "likely-subtag"
                | "extended-range"
                | "primary-language"
                | "wildcard";
            requestedLanguageRanges: readonly WeightedLanguageRange[];
        },
    >

    Locale negotiation result. languageRange identifies the selected request range and accepts either a string (weight 1) or a { range, weight } record. Library-produced results use the weighted record.