Method
ToArrayOrException
func ToArrayOrException<T>() -> Result<T[], Exception>
Declaring type: EnumerableOption<T>
Namespace: System.Linq
Assembly: Raven.Core.dll
Source file: LinqExtensions.rvn
Extension from EnumerableOption<T>.ToArrayOrException
Materializes the sequence as an array and captures any exception as an error.
Parameters
| Name | Type | Description |
|---|---|---|
self |
IEnumerable<T> |
Return value
Result<T[], Exception>