Interface CollatorOptions

interface CollatorOptions {
    caseFirst?: "upper" | "lower" | "false";
    collation?:
        | "big5han"
        | "compat"
        | "dict"
        | "direct"
        | "ducet"
        | "emoji"
        | "eor"
        | "gb2312"
        | "phonebk"
        | "phonetic"
        | "pinyin"
        | "reformed"
        | "searchjl"
        | "stroke"
        | "trad"
        | "unihan"
        | "zhuyin";
    ignorePunctuation?: boolean;
    localeMatcher?: "lookup" | "best fit";
    numeric?: boolean;
    sensitivity?:
        | "base"
        | "accent"
        | "case"
        | "variant";
    usage?: "search" | "sort";
}

Properties

caseFirst?: "upper" | "lower" | "false"
collation?:
    | "big5han"
    | "compat"
    | "dict"
    | "direct"
    | "ducet"
    | "emoji"
    | "eor"
    | "gb2312"
    | "phonebk"
    | "phonetic"
    | "pinyin"
    | "reformed"
    | "searchjl"
    | "stroke"
    | "trad"
    | "unihan"
    | "zhuyin"
ignorePunctuation?: boolean
localeMatcher?: "lookup" | "best fit"
numeric?: boolean
sensitivity?:
    | "base"
    | "accent"
    | "case"
    | "variant"
usage?: "search" | "sort"