UNPKG

imma

Version:

A collection of functions for dealing with native arrays and objects immutably

7 lines (5 loc) 217 B
'use strict' const updateIn = require('./updateIn') const merge = require('./merge') const mergeIn = module.exports = (iterable, keys, ...values) => updateIn(iterable, keys, value => merge(value, ...values))