ifFailure

inline fun <V, F> Result<V, F>.ifFailure(ifFailure: (F) -> Unit): Result<V, F>

Performs provided operation if Result is failure.

Important: This is a Public Preview API. It may be changed or removed at any time.