toggle menu
lib
common
switch theme
search in API
shared
/
com.apadmi.mockzilla.mock
/
DataResult
/
Success
Success
data
class
Success
<
T
>
(
val
ok
:
T
)
:
DataResult
<
T
,
Nothing
>
Members
Constructors
Success
Link copied to clipboard
constructor
(
ok
:
T
)
Properties
ok
Link copied to clipboard
val
ok
:
T
Functions
data
Or
Null
Link copied to clipboard
fun
dataOrNull
(
)
:
T
?
error
Or
Null
Link copied to clipboard
fun
errorOrNull
(
)
:
Nothing
?
is
Success
Link copied to clipboard
fun
isSuccess
(
)
:
Boolean