mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Fix _.matches and _.matchesProperty doc notes on inherited properties. [ci skip] [closes #1344]
This commit is contained in:
@@ -10601,8 +10601,8 @@
|
|||||||
*
|
*
|
||||||
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
|
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
|
||||||
* numbers, `Object` objects, regexes, and strings. Objects are compared by
|
* numbers, `Object` objects, regexes, and strings. Objects are compared by
|
||||||
* their own, not inherited, enumerable properties. For comparing a single
|
* their own and inherited enumerable properties. For comparing a single
|
||||||
* own or inherited property value see `_.matchesProperty`.
|
* value see `_.matchesProperty`.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
@@ -10625,11 +10625,10 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a function that compares the property value of `path` on a given
|
* Creates a function that compares the property value of `path` on a given
|
||||||
* object to `value`.
|
* object to `srcValue`.
|
||||||
*
|
*
|
||||||
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
|
* **Note:** This method supports comparing arrays, booleans, `Date` objects,
|
||||||
* numbers, `Object` objects, regexes, and strings. Objects are compared by
|
* numbers, `Object` objects, regexes, and strings.
|
||||||
* their own, not inherited, enumerable properties.
|
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
|
|||||||
Reference in New Issue
Block a user