Ksui
Toggle table of contents
2.2.1-SNAPSHOT
common
Platform filter
common
Switch theme
Search in API
Ksui
Ksui
/
xyz.mcxross.ksui.model
/
Option
Option
@
Serializable
(
with
=
OptionSerializer::class
)
sealed
class
Option
<
out
T
>
Inheritors
Some
None
Members
Types
None
Link copied to clipboard
@
Serializable
object
None
:
Option
<
Nothing
>
Some
Link copied to clipboard
@
Serializable
data
class
Some
<
T
>
(
val
value
:
T
)
:
Option
<
T
>
Functions
expect
Link copied to clipboard
fun
expect
(
message
:
String
)
:
T