Function mapResultWithKey
- mapResultWithKey<K, V, E, W>(mapper): ((m) => [errors: Record<K, E>, oks: Record<K, W>])
Parameters
mapper: ((key) => ((value) => Result<E, W>))
- (key): ((value) => Result<E, W>)
Returns ((value) => Result<E, W>)
Returns ((m) => [errors: Record<K, E>, oks: Record<K, W>])
- (m): [errors: Record<K, E>, oks: Record<K, W>]
Returns [errors: Record<K, E>, oks: Record<K, W>]