ApiResult
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
ApiResult
core
/
pro.respawn.apiresult
/
ifEmpty
if
Empty
infix inline
fun
<
T
:
Iterable
<
R
>
,
R
>
ApiResult
<
T
>
.
ifEmpty
(
block
:
(
)
->
Unit
)
:
ApiResult
<
T
>
Execute
block
if
this
's collection is empty.