Takaro - v0.4.11
    Preparing search index...

    Function mapValues

    • 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: string | null | undefined
      • callback: StringIterator<TResult>

      Returns NumericDictionary<TResult>

      Returns the new mapped object.

    • Type Parameters

      • T
      • TResult

      Parameters

      • array: T[]
      • callback: ArrayIterator<T, TResult>

      Returns NumericDictionary<TResult>

      _.mapValues

    • Type Parameters

      • T extends object
      • TResult

      Parameters

      • obj: T | null | undefined
      • callback: ObjectIterator<T, TResult>

      Returns { [P in string | number | symbol]: TResult }

      _.mapValues

    • Type Parameters

      • T

      Parameters

      • obj: Dictionary<T> | NumericDictionary<T> | null | undefined
      • iteratee: object

      Returns Dictionary<boolean>

      _.mapValues

    • Type Parameters

      • T extends object

      Parameters

      • obj: T | null | undefined
      • iteratee: object

      Returns { [P in string | number | symbol]: boolean }

      _.mapValues

    • Type Parameters

      • T
      • TKey extends string | number | symbol

      Parameters

      • obj: Dictionary<T> | NumericDictionary<T> | null | undefined
      • iteratee: TKey

      Returns Dictionary<T[TKey]>

      _.mapValues

    • Type Parameters

      • T

      Parameters

      • obj: Dictionary<T> | NumericDictionary<T> | null | undefined
      • iteratee: string

      Returns Dictionary<any>

      _.mapValues

    • Type Parameters

      • T extends object

      Parameters

      • obj: T | null | undefined
      • iteratee: string

      Returns { [P in string | number | symbol]: any }

      _.mapValues

    • Parameters

      • obj: string | null | undefined

      Returns NumericDictionary<string>

      _.mapValues

    • Type Parameters

      • T

      Parameters

      • obj: Dictionary<T> | NumericDictionary<T> | null | undefined

      Returns Dictionary<T>

      _.mapValues

    • Type Parameters

      • T extends object

      Parameters

      • obj: T

      Returns T

      _.mapValues

    • Type Parameters

      • T extends object

      Parameters

      • obj: T | null | undefined

      Returns PartialObject<T>

      _.mapValues