mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Clarify customizer args in docs for _.clone, _.cloneDeep, _.isEqual, & _.isMatch. [ci skip]
This commit is contained in:
@@ -7560,7 +7560,7 @@
|
|||||||
* otherwise they are assigned by reference. If `customizer` is provided it is
|
* otherwise they are assigned by reference. If `customizer` is provided it is
|
||||||
* invoked to produce the cloned values. If `customizer` returns `undefined`
|
* invoked to produce the cloned values. If `customizer` returns `undefined`
|
||||||
* cloning is handled by the method instead. The `customizer` is bound to
|
* cloning is handled by the method instead. The `customizer` is bound to
|
||||||
* `thisArg` and invoked with two argument; (value, index|key).
|
* `thisArg` and invoked with two argument; (value [, index|key, object]).
|
||||||
*
|
*
|
||||||
* **Note:** This method is loosely based on the structured clone algorithm.
|
* **Note:** This method is loosely based on the structured clone algorithm.
|
||||||
* The enumerable properties of `arguments` objects and objects created by
|
* The enumerable properties of `arguments` objects and objects created by
|
||||||
@@ -7617,7 +7617,7 @@
|
|||||||
* Creates a deep clone of `value`. If `customizer` is provided it is invoked
|
* Creates a deep clone of `value`. If `customizer` is provided it is invoked
|
||||||
* to produce the cloned values. If `customizer` returns `undefined` cloning
|
* to produce the cloned values. If `customizer` returns `undefined` cloning
|
||||||
* is handled by the method instead. The `customizer` is bound to `thisArg`
|
* is handled by the method instead. The `customizer` is bound to `thisArg`
|
||||||
* and invoked with two argument; (value, index|key).
|
* and invoked with two argument; (value [, index|key, object]).
|
||||||
*
|
*
|
||||||
* **Note:** This method is loosely based on the structured clone algorithm.
|
* **Note:** This method is loosely based on the structured clone algorithm.
|
||||||
* The enumerable properties of `arguments` objects and objects created by
|
* The enumerable properties of `arguments` objects and objects created by
|
||||||
@@ -7821,7 +7821,7 @@
|
|||||||
* equivalent. If `customizer` is provided it is invoked to compare values.
|
* equivalent. If `customizer` is provided it is invoked to compare values.
|
||||||
* If `customizer` returns `undefined` comparisons are handled by the method
|
* If `customizer` returns `undefined` comparisons are handled by the method
|
||||||
* instead. The `customizer` is bound to `thisArg` and invoked with three
|
* instead. The `customizer` is bound to `thisArg` and invoked with three
|
||||||
* arguments; (value, other, key).
|
* arguments; (value, other [, index|key]).
|
||||||
*
|
*
|
||||||
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
|
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
|
||||||
* numbers, `Object` objects, regexes, and strings. Functions and DOM nodes
|
* numbers, `Object` objects, regexes, and strings. Functions and DOM nodes
|
||||||
@@ -7983,7 +7983,7 @@
|
|||||||
* `object` contains equivalent property values. If `customizer` is provided
|
* `object` contains equivalent property values. If `customizer` is provided
|
||||||
* it is invoked to compare values. If `customizer` returns `undefined`
|
* it is invoked to compare values. If `customizer` returns `undefined`
|
||||||
* comparisons are handled by the method instead. The `customizer` is bound
|
* comparisons are handled by the method instead. The `customizer` is bound
|
||||||
* to `thisArg` and invoked with three arguments; (value, other, key).
|
* to `thisArg` and invoked with three arguments; (value, other, index|key).
|
||||||
*
|
*
|
||||||
* **Note:** This method supports comparing properties of arrays, booleans,
|
* **Note:** This method supports comparing properties of arrays, booleans,
|
||||||
* `Date` objects, numbers, `Object` objects, regexes, and strings. Functions
|
* `Date` objects, numbers, `Object` objects, regexes, and strings. Functions
|
||||||
|
|||||||
Reference in New Issue
Block a user