We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059b72c commit 247101dCopy full SHA for 247101d
src/utils.js
@@ -1,7 +1,7 @@
1
import mapObj from 'map-obj'
2
3
// Like Lodash mapValues()
4
-export const mapValues = function (object, mapper) {
+export const mapValues = function(object, mapper) {
5
return mapObj(object, (key, value) => [key, mapper(value, key)])
6
}
7
0 commit comments