DotNext by Roman Sakno

<PackageReference Include="DotNext" Version="2.6.0" />

.NET API 296,960 bytes

 Result

public static class Result
Represents extension methods for type Result<T>.
public static Result Coalesce<T>(this ref Result first, ref Result second)

Returns the second result if the first is unsuccessful.

public static Type GetUnderlyingType(Type resultType)

Returns the underlying type argument of the specified result type.

public static bool IsResult(this Type resultType)

Indicates that specified type is result type.

public static T? OrNull<T>(this ref Result result) where T : struct

If a result is successful, returns it, otherwise null.