Collator

external class Collator(locales: String = definedExternally, options: CollatorOptions = definedExternally)(source)

Constructors

Link copied to clipboard
constructor(locales: ReadonlyArray<String>, options: CollatorOptions = definedExternally)
constructor(locales: String = definedExternally, options: CollatorOptions = definedExternally)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun compare(x: String, y: String): Int
Link copied to clipboard