toggle menu
Mokkery
2.5.1
common
switch theme
search in API
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
.