No Description

iteratee.js 455B

123456789101112
  1. var underscore = require('./underscore.js');
  2. var _baseIteratee = require('./_baseIteratee.js');
  3. // External wrapper for our callback generator. Users may customize
  4. // `_.iteratee` if they want additional predicate/iteratee shorthand styles.
  5. // This abstraction hides the internal-only `argCount` argument.
  6. function iteratee(value, context) {
  7. return _baseIteratee(value, context, Infinity);
  8. }
  9. underscore.iteratee = iteratee;
  10. module.exports = iteratee;