SomeIfT(Boolean, T) |
Creates a result of T as Some variant with value value if the someCondition holds.
Otherwise, it will return the None variant.
C#
|
SomeIfT(Boolean, FuncT) | Lazy-in-evaluating-value counterpart of SomeIfT(Boolean, T). |