Recursively maps the values of an object using the mapper function.
Source object
Function applied to each value
A new object with mapped values
mapValuesDeep({ a: 1, nested: { b: 2 } }, val => val * 2);// => { a: 2, nested: { b: 4 } } Copy
mapValuesDeep({ a: 1, nested: { b: 2 } }, val => val * 2);// => { a: 2, nested: { b: 4 } }
1.2.0
Recursively maps the values of an object using the mapper function.