toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.intl
/
Collator
Collator
open
external
class
Collator
(
locales
:
String
=
definedExternally
,
options
:
CollatorOptions
=
definedExternally
)
(
source
)
Members
Constructors
Collator
Link copied to clipboard
constructor
(
locales
:
ReadonlyArray
<
String
>
,
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