toggle menu
piper-kt
9.3.0
common
switch theme
search in API
commons
/
piperkt.common.utils
Package-level
declarations
Functions
Functions
as
Failure
Link copied to clipboard
fun
<
E
:
Exception
>
E
.
asFailure
(
)
:
Result
<
Nothing
>
as
Success
Link copied to clipboard
fun
<
T
>
T
.
asSuccess
(
)
:
Result
<
T
>
failure
Link copied to clipboard
fun
failure
(
e
:
Exception
)
:
Result
<
Unit
>
is
Null
Link copied to clipboard
fun
Any
?
.
isNull
(
)
:
Boolean
or
Throw
Link copied to clipboard
fun
<
E
>
E
?
.
orThrow
(
e
:
Exception
)
:
E
success
Link copied to clipboard
fun
success
(
)
:
Result
<
Unit
>
fun
<
T
>
success
(
value
:
T
)
:
Result
<
T
>