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 * 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 _