Method
TapError
func TapError<T, E>(action: (E) -> ()) -> Result<T, E>
Declaring type: ResultOperators
Module: System
Assembly: System.Runtime.dll
Extension from ResultOperators.TapError
Parameters
| Name | Type | Description |
|---|---|---|
self |
Result<T, E> | |
action |
Function |
Return value
Result<T, E>