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