Creates an object with the same keys as object and values generated by running each own
enumerable property of object through iteratee. The iteratee function is
invoked with three arguments: (value, key, object).
Type Parameters
TResult
Parameters
obj: undefined | null | string
callback: StringIterator<TResult>
Returns NumericDictionary<TResult>
Returns the new mapped object.
mapValues<T, TResult>(obj, callback): { [P in string | number | symbol]: TResult }
See
_.mapValues
Type Parameters
T extends object
TResult
Parameters
obj: undefined | null | T
callback: ObjectIterator<T, TResult>
Returns { [P in string | number | symbol]: TResult }
Creates an object with the same keys as object and values generated by running each own enumerable property of object through iteratee. The iteratee function is invoked with three arguments: (value, key, object).