Method
ThenResult
func ThenResult<T, U, E>(binder: (T) -> Result<U, E>, noneError: () -> E) -> Result<U, E>
Declaring type: OptionalOperators
Module: System
Assembly: System.Runtime.dll
Extension from OptionalOperators.ThenResult
Parameters
| Name | Type | Description |
|---|---|---|
self |
Optional<T> | |
binder |
Function | |
noneError |
Function |
Return value
Result<U, E>