This function turns a string-keyed record or object literal of
Validation
inside out". For example:
Record<string, Validation<E, T>>
becomes Validation<E, Record<string, T>>
{ x: Validation<E, T1>, y: Validation<E, T2> }
becomes
Validation<E, { x: T1, y: T2 }>
Generated using TypeDoc
Evaluate the
Validation
in a string-keyed record or object literal and collect the successes in an equivalent structure.