No Description

iteratee.js 416B

12345678910
  1. import _ from './underscore.js';
  2. import baseIteratee from './_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. export default function iteratee(value, context) {
  7. return baseIteratee(value, context, Infinity);
  8. }
  9. _.iteratee = iteratee;