Opt<double> number = Some(42.5);
Assert(number.IsSome and number.Unwrap() == 42.5);
// on the other hand:
string name = null;
Opt<string> optName = Some(name);
Assert(optName.IsNone);
public static Opt<T> Some<T>(
T value
)
[Missing <typeparam name="T"/> documentation for "M:Orx.Fun.Option.OptionExtensions.Some``1(``0)"]