diff --git a/docs/4.17.15.html b/docs/4.17.15.html index 1cf54a11..80755f4a 100644 --- a/docs/4.17.15.html +++ b/docs/4.17.15.html @@ -1639,7 +1639,7 @@
“Collection” Methods
_.countBy(collection, [iteratee=_.identity])
Creates an object composed of keys generated from the results of running
-each element of collection
thru iteratee
. The corresponding value of
+each element of collection
through iteratee
. The corresponding value of
each key is the number of times the key was returned by iteratee
. The
iteratee is invoked with one argument: (value).
_.flatMap(collection, [iteratee=_.identity])
Creates a flattened array of values by running each element in collection
-thru iteratee
and flattening the mapped results. The iteratee is invoked
+through iteratee
and flattening the mapped results. The iteratee is invoked
with three arguments: (value, index|key, collection).
4.0.0
@@ -1847,7 +1847,7 @@_.groupBy(collection, [iteratee=_.identity])
Creates an object composed of keys generated from the results of running
-each element of collection
thru iteratee
. The order of grouped values
+each element of collection
through iteratee
. The order of grouped values
is determined by the order they occur in collection
. The corresponding
value of each key is an array of elements responsible for generating the
key. The iteratee is invoked with one argument: (value).
_.keyBy(collection, [iteratee=_.identity])
Creates an object composed of keys generated from the results of running
-each element of collection
thru iteratee
. The corresponding value of
+each element of collection
through iteratee
. The corresponding value of
each key is the last element responsible for generating the key. The
iteratee is invoked with one argument: (value).
_.reduce(collection, [iteratee=_.identity], [accumulator])
Reduces collection
to a value which is the accumulated result of running
-each element in collection
thru iteratee
, where each successive
+each element in collection
through iteratee
, where each successive
invocation is supplied the return value of the previous. If accumulator
is not given, the first element of collection
is used as the initial
value. The iteratee is invoked with four arguments:
@@ -4481,7 +4481,7 @@
_.invertBy(object, [iteratee=_.identity])
This method is like _.invert
except that the inverted object is generated
-from the results of running each element of object
thru iteratee
. The
+from the results of running each element of object
through iteratee
. The
corresponding inverted value of each inverted key is an array of keys
responsible for generating the inverted value. The iteratee is invoked
with one argument: (value).
_.mapKeys(objec
The opposite of _.mapValues
; this method creates an object with the
same values as object
and keys generated by running each own enumerable
-string keyed property of object
thru iteratee
. The iteratee is invoked
+string keyed property of object
through iteratee
. The iteratee is invoked
with three arguments: (value, key, object).
Since
3.8.0
@@ -4837,7 +4837,7 @@ _.transform
An alternative to _.reduce
; this method transforms object
to a new
accumulator
object which is the result of running each of its own
-enumerable string keyed properties thru iteratee
, with each invocation
+enumerable string keyed properties through iteratee
, with each invocation
potentially mutating the accumulator
object. If accumulator
is not
provided, a new object with the same [[Prototype]]
will be used. The
iteratee is invoked with four arguments: (accumulator, value, key, object).