Tuple-preserving variant of validateAll. All inputs must share the same error type E. Output Ok preserves tuple positions.
E
validateTuple( [validateName(s), validateAge(s)] as const, (l, r) => [...l, ...r],);// Result<readonly [string, number], FieldError[]> Copy
validateTuple( [validateName(s), validateAge(s)] as const, (l, r) => [...l, ...r],);// Result<readonly [string, number], FieldError[]>
Tuple-preserving variant of validateAll. All inputs must share the same error type
E. Output Ok preserves tuple positions.