toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.temporal
/
Comparator
Comparator
sealed
external
interface
Comparator
<
in
T
:
Any
,
in
L
:
Any
>
(
source
)
Inheritors
Companion
PlainCompanion
Companion
Members
Functions
compare
Link copied to clipboard
open
fun
compare
(
a
:
T
,
b
:
T
)
:
ComparisonResult
open
fun
compare
(
a
:
T
,
b
:
L
)
:
ComparisonResult
open
fun
compare
(
a
:
L
,
b
:
L
)
:
ComparisonResult
open
fun
compare
(
a
:
T
,
b
:
String
)
:
ComparisonResult
open
fun
compare
(
a
:
L
,
b
:
String
)
:
ComparisonResult
open
fun
compare
(
a
:
String
,
b
:
String
)
:
ComparisonResult