bool IsSomeGets a value indicating whether the option contains a value.
All Types / Ferrous.Results
public interface IOptionValue
Non-generic inspection contract implemented by Option<T> so framework integrations (such as ASP.NET Core endpoint filters) can inspect boxed options without reflection or trimming warnings.
bool IsSomeGets a value indicating whether the option contains a value.
object? GetSomeValue()Gets the boxed contained value if IsSome is true; otherwise null.