1 var createObjectMapper = require('../internal/createObjectMapper');
4 * The opposite of `_.mapValues`; this method creates an object with the
5 * same values as `object` and keys generated by running each own enumerable
6 * property of `object` through `iteratee`.
11 * @param {Object} object The object to iterate over.
12 * @param {Function|Object|string} [iteratee=_.identity] The function invoked
14 * @param {*} [thisArg] The `this` binding of `iteratee`.
15 * @returns {Object} Returns the new mapped object.
18 * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {
21 * // => { 'a1': 1, 'b2': 2 }
23 var mapKeys = createObjectMapper(true);
25 module.exports = mapKeys;