Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-js
/
js.intl
/
Collator
Collator
open
class
Collator
(
locales
:
String
=
definedExternally
,
options
:
CollatorOptions
=
definedExternally
)
(
source
)
Members
Constructors
Collator
Link copied to clipboard
constructor
(
locales
:
ReadonlyArray
<
JsString
>
,
options
:
CollatorOptions
=
definedExternally
)
constructor
(
locales
:
String
=
definedExternally
,
options
:
CollatorOptions
=
definedExternally
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
compare
Link copied to clipboard
fun
compare
(
x
:
String
,
y
:
String
)
:
Int
resolved
Options
Link copied to clipboard
fun
resolvedOptions
(
)
:
ResolvedCollatorOptions