Lines Matching refs:iteratee

51 * <a href="#_sorteduniqbyarray-iteratee">`_.sortedUniqBy`</a>
359 * <a href="#_iterateefunc_identity">`_.iteratee`</a>
539 …yarray-values-iteratee_identity"><code>_.differenceBy(array, [values], [iteratee=_.identity])</cod…
542 This method is like `_.difference` except that it accepts `iteratee` which
545 determined by the first array. The iteratee is invoked with one argument:<br>
557 3. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
567 // The `_.property` iteratee shorthand.
710 // The `_.matches` iteratee shorthand.
714 // The `_.matchesProperty` iteratee shorthand.
718 // The `_.property` iteratee shorthand.
756 // The `_.matches` iteratee shorthand.
760 // The `_.matchesProperty` iteratee shorthand.
764 // The `_.property` iteratee shorthand.
843 // The `_.matches` iteratee shorthand.
847 // The `_.matchesProperty` iteratee shorthand.
851 // The `_.property` iteratee shorthand.
889 // The `_.matches` iteratee shorthand.
893 // The `_.matchesProperty` iteratee shorthand.
897 // The `_.property` iteratee shorthand.
1132 <h3 id="_intersectionbyarrays-iteratee_identity"><code>_.intersectionBy([arrays], [iteratee=_.ident…
1135 This method is like `_.intersection` except that it accepts `iteratee`
1138 determined by the first array. The iteratee is invoked with one argument:<br>
1146 2. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
1156 // The `_.property` iteratee shorthand.
1380 <h3 id="_pullallbyarray-values-iteratee_identity"><code>_.pullAllBy(array, values, [iteratee=_.iden…
1383 This method is like `_.pullAll` except that it accepts `iteratee` which is
1385 by which they're compared. The iteratee is invoked with one argument: *(value)*.
1396 3. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
1615 <h3 id="_sortedindexbyarray-value-iteratee_identity"><code>_.sortedIndexBy(array, value, [iteratee=…
1618 This method is like `_.sortedIndex` except that it accepts `iteratee`
1620 sort ranking. The iteratee is invoked with one argument: *(value)*.
1628 3. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
1640 // The `_.property` iteratee shorthand.
1705 …array-value-iteratee_identity"><code>_.sortedLastIndexBy(array, value, [iteratee=_.identity])</cod…
1708 This method is like `_.sortedLastIndex` except that it accepts `iteratee`
1710 sort ranking. The iteratee is invoked with one argument: *(value)*.
1718 3. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
1730 // The `_.property` iteratee shorthand.
1793 <h3 id="_sorteduniqbyarray-iteratee"><code>_.sortedUniqBy(array, [iteratee])</code></h3>
1804 2. `[iteratee]` *(Function)*: The iteratee invoked per element.
1943 // The `_.matches` iteratee shorthand.
1947 // The `_.matchesProperty` iteratee shorthand.
1951 // The `_.property` iteratee shorthand.
1989 // The `_.matches` iteratee shorthand.
1993 // The `_.matchesProperty` iteratee shorthand.
1997 // The `_.property` iteratee shorthand.
2034 <h3 id="_unionbyarrays-iteratee_identity"><code>_.unionBy([arrays], [iteratee=_.identity])</code></…
2037 This method is like `_.union` except that it accepts `iteratee` which is
2040 array in which the value occurs. The iteratee is invoked with one argument:<br>
2048 2. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
2058 // The `_.property` iteratee shorthand.
2129 <h3 id="_uniqbyarray-iteratee_identity"><code>_.uniqBy(array, [iteratee=_.identity])</code></h3>
2132 This method is like `_.uniq` except that it accepts `iteratee` which is
2135 order they occur in the array. The iteratee is invoked with one argument:<br>
2143 2. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
2153 // The `_.property` iteratee shorthand.
2224 <h3 id="_unzipwitharray-iteratee_identity"><code>_.unzipWith(array, [iteratee=_.identity])</code></…
2227 This method is like `_.unzip` except that it accepts `iteratee` to specify
2228 how regrouped values should be combined. The iteratee is invoked with the
2236 2. `[iteratee=_.identity]` *(Function)*: The function to combine regrouped values.
2314 <h3 id="_xorbyarrays-iteratee_identity"><code>_.xorBy([arrays], [iteratee=_.identity])</code></h3>
2317 This method is like `_.xor` except that it accepts `iteratee` which is
2320 by the order they occur in the arrays. The iteratee is invoked with one
2328 2. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
2338 // The `_.property` iteratee shorthand.
2460 <h3 id="_zipwitharrays-iteratee_identity"><code>_.zipWith([arrays], [iteratee=_.identity])</code></…
2463 This method is like `_.zip` except that it accepts `iteratee` to specify
2464 how grouped values should be combined. The iteratee is invoked with the
2472 2. `[iteratee=_.identity]` *(Function)*: The function to combine grouped values.
2496 <h3 id="_countbycollection-iteratee_identity"><code>_.countBy(collection, [iteratee=_.identity])</c…
2500 each element of `collection` thru `iteratee`. The corresponding value of
2501 each key is the number of times the key was returned by `iteratee`. The
2502 iteratee is invoked with one argument: *(value)*.
2509 2. `[iteratee=_.identity]` *(Function)*: The iteratee to transform keys.
2519 // The `_.property` iteratee shorthand.
2562 // The `_.matches` iteratee shorthand.
2566 // The `_.matchesProperty` iteratee shorthand.
2570 // The `_.property` iteratee shorthand.
2610 // The `_.matches` iteratee shorthand.
2614 // The `_.matchesProperty` iteratee shorthand.
2618 // The `_.property` iteratee shorthand.
2657 // The `_.matches` iteratee shorthand.
2661 // The `_.matchesProperty` iteratee shorthand.
2665 // The `_.property` iteratee shorthand.
2705 <h3 id="_flatmapcollection-iteratee_identity"><code>_.flatMap(collection, [iteratee=_.identity])</c…
2709 thru `iteratee` and flattening the mapped results. The iteratee is invoked
2717 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
2737 <h3 id="_flatmapdeepcollection-iteratee_identity"><code>_.flatMapDeep(collection, [iteratee=_.ident…
2748 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
2768 …hcollection-iteratee_identity-depth1"><code>_.flatMapDepth(collection, [iteratee=_.identity], [dep…
2779 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
2800 <h3 id="_foreachcollection-iteratee_identity"><code>_.forEach(collection, [iteratee=_.identity])</c…
2803 Iterates over elements of `collection` and invokes `iteratee` for each element.
2804 The iteratee is invoked with three arguments: *(value, index|key, collection)*.
2820 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
2843 <h3 id="_foreachrightcollection-iteratee_identity"><code>_.forEachRight(collection, [iteratee=_.ide…
2857 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
2875 <h3 id="_groupbycollection-iteratee_identity"><code>_.groupBy(collection, [iteratee=_.identity])</c…
2879 each element of `collection` thru `iteratee`. The order of grouped values
2882 key. The iteratee is invoked with one argument: *(value)*.
2889 2. `[iteratee=_.identity]` *(Function)*: The iteratee to transform keys.
2899 // The `_.property` iteratee shorthand.
2982 <h3 id="_keybycollection-iteratee_identity"><code>_.keyBy(collection, [iteratee=_.identity])</code>…
2986 each element of `collection` thru `iteratee`. The corresponding value of
2988 iteratee is invoked with one argument: *(value)*.
2995 2. `[iteratee=_.identity]` *(Function)*: The iteratee to transform keys.
3021 <h3 id="_mapcollection-iteratee_identity"><code>_.map(collection, [iteratee=_.identity])</code></h3>
3025 `iteratee`. The iteratee is invoked with three arguments:<br>
3044 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
3066 // The `_.property` iteratee shorthand.
3143 // The `_.matches` iteratee shorthand.
3147 // The `_.matchesProperty` iteratee shorthand.
3151 // The `_.property` iteratee shorthand.
3161 <h3 id="_reducecollection-iteratee_identity-accumulator"><code>_.reduce(collection, [iteratee=_.ide…
3165 each element in `collection` thru `iteratee`, where each successive
3168 value. The iteratee is invoked with four arguments:<br>
3185 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
3210 …lection-iteratee_identity-accumulator"><code>_.reduceRight(collection, [iteratee=_.identity], [acc…
3221 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
3268 // The `_.matches` iteratee shorthand.
3272 // The `_.matchesProperty` iteratee shorthand.
3276 // The `_.property` iteratee shorthand.
3426 // The `_.matches` iteratee shorthand.
3430 // The `_.matchesProperty` iteratee shorthand.
3434 // The `_.property` iteratee shorthand.
3448 running each element in a collection thru each iteratee. This method
6516 <h3 id="_maxbyarray-iteratee_identity"><code>_.maxBy(array, [iteratee=_.identity])</code></h3>
6519 This method is like `_.max` except that it accepts `iteratee` which is
6521 the value is ranked. The iteratee is invoked with one argument: *(value)*.
6528 2. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
6540 // The `_.property` iteratee shorthand.
6575 <h3 id="_meanbyarray-iteratee_identity"><code>_.meanBy(array, [iteratee=_.identity])</code></h3>
6578 This method is like `_.mean` except that it accepts `iteratee` which is
6580 The iteratee is invoked with one argument: *(value)*.
6587 2. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
6599 // The `_.property` iteratee shorthand.
6638 <h3 id="_minbyarray-iteratee_identity"><code>_.minBy(array, [iteratee=_.identity])</code></h3>
6641 This method is like `_.min` except that it accepts `iteratee` which is
6643 the value is ranked. The iteratee is invoked with one argument: *(value)*.
6650 2. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
6662 // The `_.property` iteratee shorthand.
6781 <h3 id="_sumbyarray-iteratee_identity"><code>_.sumBy(array, [iteratee=_.identity])</code></h3>
6784 This method is like `_.sum` except that it accepts `iteratee` which is
6786 The iteratee is invoked with one argument: *(value)*.
6793 2. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
6805 // The `_.property` iteratee shorthand.
7278 // The `_.matches` iteratee shorthand.
7282 // The `_.matchesProperty` iteratee shorthand.
7286 // The `_.property` iteratee shorthand.
7323 // The `_.matches` iteratee shorthand.
7327 // The `_.matchesProperty` iteratee shorthand.
7331 // The `_.property` iteratee shorthand.
7341 <h3 id="_forinobject-iteratee_identity"><code>_.forIn(object, [iteratee=_.identity])</code></h3>
7345 object and invokes `iteratee` for each property. The iteratee is invoked
7354 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
7379 <h3 id="_forinrightobject-iteratee_identity"><code>_.forInRight(object, [iteratee=_.identity])</cod…
7390 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
7415 <h3 id="_forownobject-iteratee_identity"><code>_.forOwn(object, [iteratee=_.identity])</code></h3>
7419 invokes `iteratee` for each property. The iteratee is invoked with three
7428 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
7453 <h3 id="_forownrightobject-iteratee_identity"><code>_.forOwnRight(object, [iteratee=_.identity])</c…
7464 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
7695 <h3 id="_invertbyobject-iteratee_identity"><code>_.invertBy(object, [iteratee=_.identity])</code></…
7699 from the results of running each element of `object` thru `iteratee`. The
7701 responsible for generating the inverted value. The iteratee is invoked
7709 2. `[iteratee=_.identity]` *(Function)*: The iteratee invoked per element.
7836 <h3 id="_mapkeysobject-iteratee_identity"><code>_.mapKeys(object, [iteratee=_.identity])</code></h3>
7841 string keyed property of `object` thru `iteratee`. The iteratee is invoked
7849 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
7867 <h3 id="_mapvaluesobject-iteratee_identity"><code>_.mapValues(object, [iteratee=_.identity])</code>…
7872 `iteratee`. The iteratee is invoked with three arguments:<br>
7880 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
7895 // The `_.property` iteratee shorthand.
8301 <h3 id="_transformobject-iteratee_identity-accumulator"><code>_.transform(object, [iteratee=_.ident…
8306 enumerable string keyed properties thru `iteratee`, with each invocation
8309 iteratee is invoked with four arguments: *(accumulator, value, key, object)*.
8317 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.
8556 Shortcut fusion is an optimization to merge iteratee calls; this avoids
8558 iteratee executions. Sections of a chain sequence qualify for shortcut
8595 `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,
10374 <h3 id="_iterateefunc_identity"><code>_.iteratee([func=_.identity])</code></h3>
10375 …15531 "View in source") [&#x24C3;](https://www.npmjs.com/package/lodash.iteratee "See the npm pack…
10399 // The `_.matches` iteratee shorthand.
10400 _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));
10403 // The `_.matchesProperty` iteratee shorthand.
10404 _.filter(users, _.iteratee(['user', 'fred']));
10407 // The `_.property` iteratee shorthand.
10408 _.map(users, _.iteratee('user'));
10411 // Create custom iteratee shorthands.
10412 _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {
10413 return !_.isRegExp(func) ? iteratee(func) : function(string) {
11114 <h3 id="_timesn-iteratee_identity"><code>_.times(n, [iteratee=_.identity])</code></h3>
11117 Invokes the iteratee `n` times, returning an array of the results of
11118 each invocation. The iteratee is invoked with one argument; *(index)*.
11124 1. `n` *(number)*: The number of times to invoke `iteratee`.
11125 2. `[iteratee=_.identity]` *(Function)*: The function invoked per iteration.