mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Simplify supported comparision doc notes for _.isMatch, _.matches, and _.matchesProperty. [ci skip]
This commit is contained in:
13
lodash.js
13
lodash.js
@@ -9754,10 +9754,7 @@
|
|||||||
* Performs a deep comparison between `object` and `source` to determine if
|
* Performs a deep comparison between `object` and `source` to determine if
|
||||||
* `object` contains equivalent property values.
|
* `object` contains equivalent property values.
|
||||||
*
|
*
|
||||||
* **Note:** This method supports comparing properties of arrays, booleans,
|
* **Note:** This method supports comparing the same values as `_.isEqual`.
|
||||||
* `Date` objects, numbers, `Object` objects, regexes, and strings. Functions
|
|
||||||
* and DOM nodes are **not** supported. Provide a customizer function to extend
|
|
||||||
* support for comparing other values.
|
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
@@ -12980,10 +12977,7 @@
|
|||||||
* 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:** This method supports comparing arrays, booleans, `Date` objects,
|
* **Note:** This method supports comparing the same values as `_.isEqual`.
|
||||||
* numbers, `Object` objects, regexes, and strings. Objects are compared by
|
|
||||||
* their own and inherited enumerable properties. For comparing a single
|
|
||||||
* value see `_.matchesProperty`.
|
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
@@ -13009,8 +13003,7 @@
|
|||||||
* 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:** This method supports comparing arrays, booleans, `Date` objects,
|
* **Note:** This method supports comparing the same values as `_.isEqual`.
|
||||||
* numbers, `Object` objects, regexes, and strings.
|
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
|
|||||||
Reference in New Issue
Block a user