KotZen
1.0-SNAPSHOT
KotZen
/
[root]
/
Option
Option
sealed
class
Option
<
T
>
Content copied to clipboard
Represents a single value, or nothing
Types
Functions
Inheritors
Types
None
Link copied to clipboard
class
None
<
T
>
:
Option
<
T
>
Content copied to clipboard
Some
Link copied to clipboard
data
class
Some
<
T
>
(
value
:
T
)
:
Option
<
T
>
Content copied to clipboard
Functions
value
Or
Default
Link copied to clipboard
fun
valueOrDefault
(
default
:
T
)
:
T
Content copied to clipboard
Inheritors
None
Link copied to clipboard
Some
Link copied to clipboard