UNPKG

rambda

Version:

Lightweight and faster alternative to Ramda with included TS definitions

12 lines (9 loc) 223 B
import { map } from './map.js' import { mergeRight } from './mergeRight.js' export function mergeAll(arr){ let willReturn = {} map(val => { willReturn = mergeRight(willReturn, val) }, arr) return willReturn }