• Takes a list of Results and creates one single result out of it

    If all results are successfull a Success is retured. Then the data value is an array of all the data values of the original results in correct order.

    If a single result has a failure a Failure is retured. The error then is an array of all the original errors.

    Type Parameters

    Parameters

    • results: T

    Returns Result<UnwrapFailure<UnwrapArray<T>>[], MergedSuccesses<T>>