toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-common
/
dev.kord.common.entity.optional
/
switchOnMissing
switch
On
Missing
fun
<
T
:
Any
>
Optional
<
T
>
.
switchOnMissing
(
value
:
T
)
:
Optional
<
T
>
(
source
)
fun
<
T
:
Any
>
Optional
<
T
>
.
switchOnMissing
(
value
:
Optional
<
T
>
)
:
Optional
<
T
>
(
source
)