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