ApiResult
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ApiResult
core
/
pro.respawn.apiresult
/
or
or
infix inline
fun
<
T
,
R
:
T
>
ApiResult
<
T
>
.
or
(
defaultValue
:
R
)
:
T
If
this
is
Error
or
Loading
, returns
defaultValue
.
See also
or
Else