(value, context, argCount)
| 27941 | // to each element in a collection, returning the desired result — either |
| 27942 | // identity, an arbitrary callback, a property matcher, or a property accessor. |
| 27943 | var cb = function(value, context, argCount) { |
| 27944 | if (value == null) return _.identity; |
| 27945 | if (_.isFunction(value)) return optimizeCb(value, context, argCount); |
| 27946 | if (_.isObject(value)) return _.matcher(value); |
| 27947 | return _.property(value); |
| 27948 | }; |
| 27949 | _.iteratee = function(value, context) { |
| 27950 | return cb(value, context, Infinity); |
| 27951 | }; |
no test coverage detected