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?: "sort" | "search";
}
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?: "sort" | "search";
}
Index
Properties
Optional
caseFirst
caseFirst ?: "upper" | "lower" | "false"
Optional
collation
collation?:
| "big5han"
| "compat"
| "dict"
| "direct"
| "ducet"
| "emoji"
| "eor"
| "gb2312"
| "phonebk"
| "phonetic"
| "pinyin"
| "reformed"
| "searchjl"
| "stroke"
| "trad"
| "unihan"
| "zhuyin"
| "big5han"
| "compat"
| "dict"
| "direct"
| "ducet"
| "emoji"
| "eor"
| "gb2312"
| "phonebk"
| "phonetic"
| "pinyin"
| "reformed"
| "searchjl"
| "stroke"
| "trad"
| "unihan"
| "zhuyin"
Optional
ignorePunctuation
ignorePunctuation ?: boolean
Optional
localeMatcher
localeMatcher ?: "lookup" | "best fit"
Optional
numeric
numeric?: boolean
Optional
sensitivity
sensitivity?:
| "base"
| "accent"
| "case"
| "variant"
| "base"
| "accent"
| "case"
| "variant"
Optional
usage
usage?: "sort" | "search"