* Creates an array of values by running each element in `collection` thru * `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`,
(collection, iteratee)
| 54745 | * // => ['barney', 'fred'] |
| 54746 | */ |
| 54747 | function map(collection, iteratee) { |
| 54748 | var func = isArray(collection) ? arrayMap : baseMap; |
| 54749 | return func(collection, baseIteratee(iteratee, 3)); |
| 54750 | } |
| 54751 | |
| 54752 | module.exports = map; |
| 54753 |
nothing calls this directly
no test coverage detected