Class Collator

See the Rust documentation for Collator for more information.

Constructors

Accessors

Methods

Constructors

Accessors

  • get ffiValue(): number
  • Returns number

Methods

  • Compare two strings.

    Ill-formed input is treated as if errors had been replaced with REPLACEMENT CHARACTERs according to the WHATWG Encoding Standard.

    See the Rust documentation for compare_utf16 for more information.

    Parameters

    • left: string
    • right: string

    Returns number

""