mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Rename predicate to iteratee in _.uniq, _.countBy, _.groupBy, _.indexBy, & _.map docs. [closes #1071] [ci skip]
This commit is contained in:
@@ -5664,14 +5664,14 @@
|
|||||||
* uniqueness is computed. The `iteratee` is bound to `thisArg` and invoked
|
* uniqueness is computed. The `iteratee` is bound to `thisArg` and invoked
|
||||||
* with three arguments: (value, index, array).
|
* with three arguments: (value, index, array).
|
||||||
*
|
*
|
||||||
* If a property name is provided for `predicate` the created `_.property`
|
* If a property name is provided for `iteratee` the created `_.property`
|
||||||
* style callback returns the property value of the given element.
|
* style callback returns the property value of the given element.
|
||||||
*
|
*
|
||||||
* If a value is also provided for `thisArg` the created `_.matchesProperty`
|
* If a value is also provided for `thisArg` the created `_.matchesProperty`
|
||||||
* style callback returns `true` for elements that have a matching property
|
* style callback returns `true` for elements that have a matching property
|
||||||
* value, else `false`.
|
* value, else `false`.
|
||||||
*
|
*
|
||||||
* If an object is provided for `predicate` the created `_.matches` style
|
* If an object is provided for `iteratee` the created `_.matches` style
|
||||||
* callback returns `true` for elements that have the properties of the given
|
* callback returns `true` for elements that have the properties of the given
|
||||||
* object, else `false`.
|
* object, else `false`.
|
||||||
*
|
*
|
||||||
@@ -6158,14 +6158,14 @@
|
|||||||
* The `iteratee` is bound to `thisArg` and invoked with three arguments:
|
* The `iteratee` is bound to `thisArg` and invoked with three arguments:
|
||||||
* (value, index|key, collection).
|
* (value, index|key, collection).
|
||||||
*
|
*
|
||||||
* If a property name is provided for `predicate` the created `_.property`
|
* If a property name is provided for `iteratee` the created `_.property`
|
||||||
* style callback returns the property value of the given element.
|
* style callback returns the property value of the given element.
|
||||||
*
|
*
|
||||||
* If a value is also provided for `thisArg` the created `_.matchesProperty`
|
* If a value is also provided for `thisArg` the created `_.matchesProperty`
|
||||||
* style callback returns `true` for elements that have a matching property
|
* style callback returns `true` for elements that have a matching property
|
||||||
* value, else `false`.
|
* value, else `false`.
|
||||||
*
|
*
|
||||||
* If an object is provided for `predicate` the created `_.matches` style
|
* If an object is provided for `iteratee` the created `_.matches` style
|
||||||
* callback returns `true` for elements that have the properties of the given
|
* callback returns `true` for elements that have the properties of the given
|
||||||
* object, else `false`.
|
* object, else `false`.
|
||||||
*
|
*
|
||||||
@@ -6476,14 +6476,14 @@
|
|||||||
* The `iteratee` is bound to `thisArg` and invoked with three arguments:
|
* The `iteratee` is bound to `thisArg` and invoked with three arguments:
|
||||||
* (value, index|key, collection).
|
* (value, index|key, collection).
|
||||||
*
|
*
|
||||||
* If a property name is provided for `predicate` the created `_.property`
|
* If a property name is provided for `iteratee` the created `_.property`
|
||||||
* style callback returns the property value of the given element.
|
* style callback returns the property value of the given element.
|
||||||
*
|
*
|
||||||
* If a value is also provided for `thisArg` the created `_.matchesProperty`
|
* If a value is also provided for `thisArg` the created `_.matchesProperty`
|
||||||
* style callback returns `true` for elements that have a matching property
|
* style callback returns `true` for elements that have a matching property
|
||||||
* value, else `false`.
|
* value, else `false`.
|
||||||
*
|
*
|
||||||
* If an object is provided for `predicate` the created `_.matches` style
|
* If an object is provided for `iteratee` the created `_.matches` style
|
||||||
* callback returns `true` for elements that have the properties of the given
|
* callback returns `true` for elements that have the properties of the given
|
||||||
* object, else `false`.
|
* object, else `false`.
|
||||||
*
|
*
|
||||||
@@ -6578,14 +6578,14 @@
|
|||||||
* iteratee function is bound to `thisArg` and invoked with three arguments:
|
* iteratee function is bound to `thisArg` and invoked with three arguments:
|
||||||
* (value, index|key, collection).
|
* (value, index|key, collection).
|
||||||
*
|
*
|
||||||
* If a property name is provided for `predicate` the created `_.property`
|
* If a property name is provided for `iteratee` the created `_.property`
|
||||||
* style callback returns the property value of the given element.
|
* style callback returns the property value of the given element.
|
||||||
*
|
*
|
||||||
* If a value is also provided for `thisArg` the created `_.matchesProperty`
|
* If a value is also provided for `thisArg` the created `_.matchesProperty`
|
||||||
* style callback returns `true` for elements that have a matching property
|
* style callback returns `true` for elements that have a matching property
|
||||||
* value, else `false`.
|
* value, else `false`.
|
||||||
*
|
*
|
||||||
* If an object is provided for `predicate` the created `_.matches` style
|
* If an object is provided for `iteratee` the created `_.matches` style
|
||||||
* callback returns `true` for elements that have the properties of the given
|
* callback returns `true` for elements that have the properties of the given
|
||||||
* object, else `false`.
|
* object, else `false`.
|
||||||
*
|
*
|
||||||
@@ -6661,14 +6661,14 @@
|
|||||||
* `iteratee`. The `iteratee` is bound to `thisArg` and invoked with three
|
* `iteratee`. The `iteratee` is bound to `thisArg` and invoked with three
|
||||||
* arguments: (value, index|key, collection).
|
* arguments: (value, index|key, collection).
|
||||||
*
|
*
|
||||||
* If a property name is provided for `predicate` the created `_.property`
|
* If a property name is provided for `iteratee` the created `_.property`
|
||||||
* style callback returns the property value of the given element.
|
* style callback returns the property value of the given element.
|
||||||
*
|
*
|
||||||
* If a value is also provided for `thisArg` the created `_.matchesProperty`
|
* If a value is also provided for `thisArg` the created `_.matchesProperty`
|
||||||
* style callback returns `true` for elements that have a matching property
|
* style callback returns `true` for elements that have a matching property
|
||||||
* value, else `false`.
|
* value, else `false`.
|
||||||
*
|
*
|
||||||
* If an object is provided for `predicate` the created `_.matches` style
|
* If an object is provided for `iteratee` the created `_.matches` style
|
||||||
* callback returns `true` for elements that have the properties of the given
|
* callback returns `true` for elements that have the properties of the given
|
||||||
* object, else `false`.
|
* object, else `false`.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user