Constructors
constructor
- new Collator(provider, locale, options): Collator
Accessors
ffiValue
- get ffiValue(): number
Returns number
Methods
compare
- compare(left, right): number
Parameters
- left: string
- right: string
Returns number
Static
create
- create(locale, options): Collator
Parameters
- locale: Locale
- options: CollatorOptions_obj
See the Rust documentation for
Collator
for more information.