Functions
fold
Kotlin Function
Function
Applies onSuccess or onFailure depending on the result variant.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Kotlin Function
inline fun <T, E> Result<T, E>.fold(onSuccess: (T) -> Unit, onFailure: (E) -> Unit)
Was this page helpful?
