From 64fe626fa6285d529e714aa58f53c262e1867887 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 26 Dec 2015 11:04:17 -0600 Subject: [PATCH] Simplify supported comparision doc notes for `_.isMatch`, `_.matches`, and `_.matchesProperty`. [ci skip] --- lodash.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/lodash.js b/lodash.js index dc2671e58..cb49c06d0 100644 --- a/lodash.js +++ b/lodash.js @@ -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 _