• The opposite of _.mapValues; this method creates an object with the same values as object and keys generated by running each own enumerable property of object through iteratee.

    Type Parameters

    • T

    Parameters

    • object: undefined | null | List<T>

      The object to iterate over.

    • Optional iteratee: ListIteratee<T>

      The function invoked per iteration.

    Returns Dictionary<T>

    Returns the new mapped object.

  • Type Parameters

    • T extends object

    Parameters

    • object: undefined | null | T
    • Optional iteratee: ObjectIteratee<T>

    Returns Dictionary<T[keyof T]>

    See

    _.mapKeys

Generated using TypeDoc