mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +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,
|
||||
* numbers, `Object` objects, regexes, and strings. Objects are compared by
|
||||
* their own, not inherited, enumerable properties. For comparing a single
|
||||
* own or inherited property value see `_.matchesProperty`.
|
||||
* their own and inherited enumerable properties. For comparing a single
|
||||
* value see `_.matchesProperty`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
@@ -10625,11 +10625,10 @@
|
||||
|
||||
/**
|
||||
* 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,
|
||||
* numbers, `Object` objects, regexes, and strings. Objects are compared by
|
||||
* their own, not inherited, enumerable properties.
|
||||
* numbers, `Object` objects, regexes, and strings.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
|
||||
Reference in New Issue
Block a user