Simplify supported comparision doc notes for _.isMatch, _.matches, and _.matchesProperty. [ci skip]

This commit is contained in:
John-David Dalton
2015-12-26 11:04:17 -06:00
parent f8236c711f
commit 64fe626fa6

View File

@@ -9754,10 +9754,7 @@
* Performs a deep comparison between `object` and `source` to determine if
* `object` contains equivalent property values.
*
* **Note:** This method supports comparing properties of arrays, booleans,
* `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.
* **Note:** This method supports comparing the same values as `_.isEqual`.
*
* @static
* @memberOf _
@@ -12980,10 +12977,7 @@
* object and `source`, returning `true` if the given object has equivalent
* property values, else `false`.
*
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
* numbers, `Object` objects, regexes, and strings. Objects are compared by
* their own and inherited enumerable properties. For comparing a single
* value see `_.matchesProperty`.
* **Note:** This method supports comparing the same values as `_.isEqual`.
*
* @static
* @memberOf _
@@ -13009,8 +13003,7 @@
* value at `path` of a given object to `srcValue`, returning `true` if the
* object value is equivalent, else `false`.
*
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
* numbers, `Object` objects, regexes, and strings.
* **Note:** This method supports comparing the same values as `_.isEqual`.
*
* @static
* @memberOf _