Method

MapResult

func MapResult<TResult, E>(mapper: T -> TResult, noneError: () -> E) -> Result<TResult, E>

Type: Option<T>
Namespace: System
Assembly: Raven.Core.dll
Source file: Option.rvn

Maps the contained value into a Result. If this is None, returns Error(noneError()).