OptionExtensionsSomeIfT(Boolean, FuncT) Method
Namespace: Orx.Fun.OptionAssembly: Orx.Fun.Option (in Orx.Fun.Option.dll) Version: 1.2.1+ea79806fa5e0e04bfdaef2a1916930e75e2cde74
public static Opt<T> SomeIf<T>(
bool someCondition,
Func<T> lazyValue
)
- someCondition Boolean
- Condition that must hold for the return value to be Some(value).
- lazyValue FuncT
- Underlying value of the Some variant to be evaluated and returned if someCondition holds.
- T
[Missing <typeparam name="T"/> documentation for "M:Orx.Fun.Option.OptionExtensions.SomeIf``1(System.Boolean,System.Func{``0})"]
OptT