Function mapKeys

  • 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: Nullable<ArrayLike<T>>
    • Optionaliteratee: ListIteratee<T>

      The function invoked per iteration.

    Returns Dictionary<T>

  • Type Parameters

    • T extends object

    Parameters

    • object: Nullable<T>
    • Optionaliteratee: ObjectIteratee<T>

    Returns Dictionary<T[keyof T]>

    mapKeys