bool IsOkGets a value indicating whether the result is in the Ok state.
All Types / Ferrous.Results
public interface IResultValue
Non-generic inspection contract implemented by Result<T, TError> so framework integrations (such as ASP.NET Core endpoint filters) can inspect boxed results without reflection or trimming warnings.
bool IsOkGets a value indicating whether the result is in the Ok state.
bool IsErrGets a value indicating whether the result is in the Err state.
object? GetOkValue()Gets the boxed Ok value if IsOk is true; otherwise null.
object? GetErrValue()Gets the boxed Err value if IsErr is true; otherwise null.