* 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`,
(collection, iteratee)
| 17183 | * // => ['barney', 'fred'] |
| 17184 | */ |
| 17185 | function map(collection, iteratee) { |
| 17186 | var func = isArray(collection) ? arrayMap : baseMap; |
| 17187 | return func(collection, getIteratee(iteratee, 3)); |
| 17188 | } |
| 17189 | |
| 17190 | /** |
| 17191 | * This method is like `_.sortBy` except that it allows specifying the sort |
no test coverage detected