returnsSuccess

infix fun <T> AnsweringScope<in Result<T>>.returnsSuccess(value: T)

Function call returns Result.success with value.