(value, context, argCount)
| 4608 | // to each element in a collection, returning the desired result — either |
| 4609 | // identity, an arbitrary callback, a property matcher, or a property accessor. |
| 4610 | var cb = function(value, context, argCount) { |
| 4611 | if (value == null) return _.identity; |
| 4612 | if (_.isFunction(value)) return optimizeCb(value, context, argCount); |
| 4613 | if (_.isObject(value)) return _.matcher(value); |
| 4614 | return _.property(value); |
| 4615 | }; |
| 4616 | _.iteratee = function(value, context) { |
| 4617 | return cb(value, context, Infinity); |
| 4618 | }; |
no test coverage detected