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