public static class ResultExtensionsLinq| AllErr(IEnumerableRes) | Returns whether all results in the collection are Err or not. |
| AllErrT(IEnumerableResT) | Returns whether all results in the collection are Err or not. |
| AllOk(IEnumerableRes) | Returns whether all results in the collection are Ok or not. |
| AllOkT(IEnumerableResT) | Returns whether all results in the collection are Ok or not. |
| AnyErr(IEnumerableRes) | Returns whether any of the results in the collection are Err or not. |
| AnyErrT(IEnumerableResT) | Returns whether any of the results results in the collection are Err or not. |
| AnyOk(IEnumerableRes) | Returns whether any of the results in the collection are Ok or not. |
| AnyOkT(IEnumerableResT) | Returns whether any of the results results in the collection are Ok or not. |
| FilterMapUnwrapT |
Returns unwrapped values of the results of Ok variant in the collection.
C# |
| FirstErrT |
Returns Some of the error message of first Err result of the collection if any; None otherwise.
C# |
| FirstOkT |
Returns Some of the value of first Ok result of the collection if any; None otherwise.
C# |
| LastErrT |
Returns Some of the value of last Ok result of the collection if any; None otherwise.
C# |
| LastOkT |
Returns Some of the value of last Ok result of the collection if any; None otherwise.
C# |
| MapUnwrapT |
Unwraps all elements in the collection and returns Ok of the resulting list.
If any of the elements is Err; then, the method returns the mapped error.
C# |