toggle menu
BotCommands
JVM
switch theme
search in API
BotCommands
/
io.github.freya022.botcommands.api.core.utils
/
RestResult
/
getOrNull
get
Or
Null
fun
getOrNull
(
)
:
T
?
(
source
)
Returns the encapsulated value if this instance represents
success
or
null
if it is
failure
.