toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.temporal
/
PlainCompanion
Plain
Companion
sealed
external
interface
PlainCompanion
<
T
:
Any
,
in
L
:
Any
>
:
Factory
<
T
,
L
,
AssignmentOptions
>
,
Comparator
<
T
,
L
>
(
source
)
Inheritors
Companion
Companion
Companion
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
from
Link copied to clipboard
open
fun
from
(
value
:
T
,
options
:
AssignmentOptions
=
definedExternally
)
:
T
open
fun
from
(
value
:
L
,
options
:
AssignmentOptions
=
definedExternally
)
:
T
open
fun
from
(
value
:
String
,
options
:
AssignmentOptions
=
definedExternally
)
:
T