Mokkery
Toggle table of contents
2.7.1
common
Platform filter
common
Switch theme
Search in API
Mokkery
mokkery-runtime
/
dev.mokkery.answering
/
returnsSuccessBy
returns
Success
By
infix
fun
<
T
>
AnsweringScope
<
in
Result
<
T
>
>
.
returnsSuccessBy
(
function
:
(
)
->
T
)
Function call returns
Result.success
with value provided each time by
function
.