productAll
productAll<
E,A>(data):Validation<E, readonlyA[]>
Defined in: Core/Validation.ts:368
Combines a non-empty list of Validation instances, accumulating all errors. If all are Passed, returns Passed with all values collected into an array. If any are Failed, returns Failed with all accumulated errors.
Type Parameters
Section titled “Type Parameters”E
A
Parameters
Section titled “Parameters”NonEmptyList<Validation<E, A>>
Returns
Section titled “Returns”Validation<E, readonly A[]>