product
product<
E,A,B>(first,second):Validation<E, readonly [A,B]>
Defined in: Core/Validation.ts:235
Combines two independent Validation instances into a tuple. If both are Valid, returns Valid with both values as a tuple. If either is Invalid, accumulates errors from both sides.
Type Parameters
Section titled “Type Parameters”E
A
B
Parameters
Section titled “Parameters”Validation<E, A>
second
Section titled “second”Validation<E, B>
Returns
Section titled “Returns”Validation<E, readonly [A, B]>