ResTPure Method
Simply returns Ok<T> function: val => Ok(val).
Useful for composing functions of Res<T> type.
Namespace: Orx.Fun.ResultAssembly: Orx.Fun.Result (in Orx.Fun.Result.dll) Version: 1.3.0+344c8bdd6f720ccfb2d8db7c61b76cf02be18f5f
public static Func<T, Res<T>> Pure()
Return Value
FuncT,
ResT