Takaro - v0.4.11
    Preparing search index...
    • Creates an array of values by running each element in collection through iteratee. The iteratee is invoked with three arguments: (value, index|key, collection).

      Many lodash methods are guarded to work as iteratees for methods like _.every, _.filter, _.map, _.mapValues, _.reject, and _.some.

      The guarded methods are: ary, callback, chunk, clone, create, curry, curryRight, drop, dropRight, every, fill, flatten, invert, max, min, parseInt, slice, sortBy, take, takeRight, template, trim, trimLeft, trimRight, trunc, random, range, sample, some, sum, uniq, and words

      Type Parameters

      • T extends readonly [unknown, unknown]
      • TResult

      Parameters

      • collection: T

        The collection to iterate over.

      • iteratee: TupleIterator<T, TResult>

        The function invoked per iteration.

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

      Returns the new mapped array.

    • Type Parameters

      • T
      • TResult

      Parameters

      • collection: T[] | null | undefined
      • iteratee: ArrayIterator<T, TResult>

      Returns TResult[]

      _.map

    • Type Parameters

      • T
      • TResult

      Parameters

      • collection: List<T> | null | undefined
      • iteratee: ListIterator<T, TResult>

      Returns TResult[]

      _.map

    • Type Parameters

      • T

      Parameters

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

      Returns T[]

      _.map

    • Type Parameters

      • T extends object
      • TResult

      Parameters

      • collection: T | null | undefined
      • iteratee: ObjectIterator<T, TResult>

      Returns TResult[]

      _.map

    • Type Parameters

      • T
      • K extends string | number | symbol

      Parameters

      • collection: Dictionary<T> | NumericDictionary<T> | null | undefined
      • iteratee: K

      Returns T[K][]

      _.map

    • Type Parameters

      • T

      Parameters

      • collection: Dictionary<T> | NumericDictionary<T> | null | undefined
      • Optionaliteratee: string

      Returns any[]

      _.map

    • Type Parameters

      • T

      Parameters

      • collection: Dictionary<T> | NumericDictionary<T> | null | undefined
      • Optionaliteratee: object

      Returns boolean[]

      _.map