mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 20:07:49 +00:00
Cleanup partial comparison notes. [ci skip]
This commit is contained in:
23
lodash.js
23
lodash.js
@@ -11344,9 +11344,12 @@
|
|||||||
* Performs a partial deep comparison between `object` and `source` to
|
* Performs a partial deep comparison between `object` and `source` to
|
||||||
* determine if `object` contains equivalent property values.
|
* determine if `object` contains equivalent property values.
|
||||||
*
|
*
|
||||||
* **Note:** If source is empty, this method returns true. Otherwise, it supports
|
* **Note:** This method is equivalent to `_.matches` when `source` is
|
||||||
* comparing the same values as `_.isEqual` and is equivalent to `_.matches`
|
* partially applied.
|
||||||
* when `source` is partially applied.
|
*
|
||||||
|
* Partial comparisons will match empty array and empty object `source`
|
||||||
|
* values against any array or object value, respectively. See `_.isEqual`
|
||||||
|
* for a list of supported value comparisons.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
@@ -15061,9 +15064,12 @@
|
|||||||
* object and `source`, returning `true` if the given object has equivalent
|
* object and `source`, returning `true` if the given object has equivalent
|
||||||
* property values, else `false`.
|
* property values, else `false`.
|
||||||
*
|
*
|
||||||
* **Note:** If source is empty, the created function returns true. Otherwise
|
* **Note:** The created function is equivalent to `_.isMatch` with `source`
|
||||||
* it supports comparing the same values as `_.isEqual` and is equivalent to
|
* partially applied.
|
||||||
* `_.isMatch` with `source` partially applied.
|
*
|
||||||
|
* Partial comparisons will match empty array and empty object `source`
|
||||||
|
* values against any array or object value, respectively. See `_.isEqual`
|
||||||
|
* for a list of supported value comparisons.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
@@ -15090,8 +15096,9 @@
|
|||||||
* value at `path` of a given object to `srcValue`, returning `true` if the
|
* value at `path` of a given object to `srcValue`, returning `true` if the
|
||||||
* object value is equivalent, else `false`.
|
* object value is equivalent, else `false`.
|
||||||
*
|
*
|
||||||
* **Note:** If `srcValue` is an empty object, this method returns true. Otherwise,
|
* **Note:** Partial comparisons will match empty array and empty object
|
||||||
* it supports comparing the same values as `_.isEqual`.
|
* `srcValue` values against any array or object value, respectively. See
|
||||||
|
* `_.isEqual` for a list of supported value comparisons.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
|
|||||||
Reference in New Issue
Block a user