Lines Matching refs:iteratee

2931 	  function sortedUniq(array, iteratee) {
2940 computed = iteratee ? iteratee(value, index, array) : value;
3475 iteratee = data.iteratee,
3476 computed = iteratee(value, index, array),
3649 function arrayEach(array, iteratee) {
3654 if (iteratee(array[index], index, array) === false) {
3670 function arrayEachRight(array, iteratee) {
3674 if (iteratee(array[length], length, array) === false) {
3736 function arrayMap(array, iteratee) {
3742 result[index] = iteratee(array[index], index, array);
3801 function arrayReduce(array, iteratee, accumulator, initFromArray) {
3809 accumulator = iteratee(accumulator, array[index], index, array);
3826 function arrayReduceRight(array, iteratee, accumulator, initFromArray) {
3832 accumulator = iteratee(accumulator, array[length], length, array);
4179 function baseEach(collection, iteratee) {
4182 return baseForOwn(collection, iteratee);
4188 if (iteratee(iterable[index], index, iterable) === false) {
4204 function baseEachRight(collection, iteratee) {
4207 return baseForOwnRight(collection, iteratee);
4211 if (iteratee(iterable[length], length, iterable) === false) {
4331 function baseFor(object, iteratee, keysFunc) {
4339 if (iteratee(iterable[key], key, iterable) === false) {
4356 function baseForRight(object, iteratee, keysFunc) {
4363 if (iteratee(iterable[key], key, iterable) === false) {
4379 function baseForIn(object, iteratee) {
4380 return baseFor(object, iteratee, keysIn);
4392 function baseForOwn(object, iteratee) {
4393 return baseFor(object, iteratee, keys);
4405 function baseForOwnRight(object, iteratee) {
4406 return baseForRight(object, iteratee, keys);
4622 function baseMap(collection, iteratee) {
4625 result.push(iteratee(value, key, collection));
4823 function baseReduce(collection, iteratee, accumulator, initFromCollection, eachFunc) {
4827 : iteratee(accumulator, value, index, collection)
4905 function baseUniq(array, iteratee) {
4919 seen = iteratee ? [] : result;
4924 computed = iteratee ? iteratee(value, index, array) : value;
4933 if (iteratee) {
4939 if (iteratee || isLarge) {
5043 function binaryIndexBy(array, value, iteratee, retHighest) {
5044 value = iteratee(value);
5053 computed = iteratee(array[mid]),
5212 return function(collection, iteratee, thisArg) {
5214 iteratee = getCallback(iteratee, thisArg, 3);
5222 setter(result, value, iteratee(value, index, collection), collection);
5226 setter(result, value, iteratee(value, key, collection), collection);
5349 return function(collection, iteratee, thisArg) {
5350 if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {
5351 iteratee = null;
5354 noIteratee = iteratee == null;
5358 iteratee = func(iteratee, thisArg, 3);
5363 iteratee = charAtCallback;
5368 return extremumBy(collection, iteratee, isMin);
5747 function extremumBy(collection, iteratee, isMin) {
5753 var current = iteratee(value, index, collection);
7110 function sortedIndex(array, value, iteratee, thisArg) {
7111 var func = getCallback(iteratee);
7112 return (func === baseCallback && iteratee == null)
7114 : binaryIndexBy(array, value, func(iteratee, thisArg, 1));
7138 function sortedLastIndex(array, value, iteratee, thisArg) {
7139 var func = getCallback(iteratee);
7140 return (func === baseCallback && iteratee == null)
7142 : binaryIndexBy(array, value, func(iteratee, thisArg, 1), true);
7390 function uniq(array, isSorted, iteratee, thisArg) {
7397 thisArg = iteratee;
7398 iteratee = isIterateeCall(array, isSorted, thisArg) ? null : isSorted;
7402 if (!(func === baseCallback && iteratee == null)) {
7403 iteratee = func(iteratee, thisArg, 3);
7406 ? sortedUniq(array, iteratee)
7407 : baseUniq(array, iteratee);
8073 function forEach(collection, iteratee, thisArg) {
8074 … return (typeof iteratee == 'function' && typeof thisArg == 'undefined' && isArray(collection))
8075 ? arrayEach(collection, iteratee)
8076 : baseEach(collection, bindCallback(iteratee, thisArg, 3));
8096 function forEachRight(collection, iteratee, thisArg) {
8097 … return (typeof iteratee == 'function' && typeof thisArg == 'undefined' && isArray(collection))
8098 ? arrayEachRight(collection, iteratee)
8099 : baseEachRight(collection, bindCallback(iteratee, thisArg, 3));
8253 function map(collection, iteratee, thisArg) {
8255 iteratee = getCallback(iteratee, thisArg, 3);
8256 return func(collection, iteratee);
8452 function reduce(collection, iteratee, accumulator, thisArg) {
8454 …return func(collection, getCallback(iteratee, thisArg, 4), accumulator, arguments.length < 3, base…
8476 function reduceRight(collection, iteratee, accumulator, thisArg) {
8478 …return func(collection, getCallback(iteratee, thisArg, 4), accumulator, arguments.length < 3, base…
8704 function sortBy(collection, iteratee, thisArg) {
8709 if (thisArg && isIterateeCall(collection, iteratee, thisArg)) {
8710 iteratee = null;
8712 iteratee = getCallback(iteratee, thisArg, 3);
8714 …result[++index] = { 'criteria': iteratee(value, key, collection), 'index': index, 'value': value };
10737 function forIn(object, iteratee, thisArg) {
10738 if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {
10739 iteratee = bindCallback(iteratee, thisArg, 3);
10741 return baseFor(object, iteratee, keysIn);
10769 function forInRight(object, iteratee, thisArg) {
10770 iteratee = bindCallback(iteratee, thisArg, 3);
10771 return baseForRight(object, iteratee, keysIn);
10794 function forOwn(object, iteratee, thisArg) {
10795 if (typeof iteratee != 'function' || typeof thisArg != 'undefined') {
10796 iteratee = bindCallback(iteratee, thisArg, 3);
10798 return baseForOwn(object, iteratee);
10819 function forOwnRight(object, iteratee, thisArg) {
10820 iteratee = bindCallback(iteratee, thisArg, 3);
10821 return baseForRight(object, iteratee, keys);
11040 function mapValues(object, iteratee, thisArg) {
11042 iteratee = getCallback(iteratee, thisArg, 3);
11045 result[key] = iteratee(value, key, object);
11271 function transform(object, iteratee, accumulator, thisArg) {
11273 iteratee = getCallback(iteratee, thisArg, 4);
11288 return iteratee(accumulator, value, index, object);
12673 function times(n, iteratee, thisArg) {
12684 iteratee = bindCallback(iteratee, thisArg, 1);
12687 result[index] = iteratee(index);
12689 iteratee(index);
12838 lodash.iteratee = callback;
12983 LazyWrapper.prototype[methodName] = function(iteratee, thisArg) {
12989 iteratees.push({ 'iteratee': getCallback(iteratee, thisArg, 3), 'type': index });
13050 LazyWrapper.prototype.dropWhile = function(iteratee, thisArg) {
13055 iteratee = getCallback(iteratee, thisArg, 3);
13059 return done || (done = !iteratee(value, index, array));
13063 LazyWrapper.prototype.reject = function(iteratee, thisArg) {
13064 iteratee = getCallback(iteratee, thisArg, 3);
13066 return !iteratee(value, index, array);