toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-common
/
dev.kord.common.entity.optional
/
OptionalInt
/
orElse
or
Else
fun
orElse
(
default
:
Int
)
:
Int
(
source
)
returns
default
if the optional is
Missing
, or
Value.value
if is
Value
.