mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Documentation fixes.
This commit is contained in:
@@ -15588,7 +15588,7 @@
|
||||
* // => [{ 'a': 4, 'b': 5, 'c': 6 }]
|
||||
*
|
||||
* // Checking for several possible values
|
||||
* _.filter(users, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
|
||||
* _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));
|
||||
* // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
|
||||
*/
|
||||
function matches(source) {
|
||||
@@ -15625,7 +15625,7 @@
|
||||
* // => { 'a': 4, 'b': 5, 'c': 6 }
|
||||
*
|
||||
* // Checking for several possible values
|
||||
* _.filter(users, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
|
||||
* _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));
|
||||
* // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]
|
||||
*/
|
||||
function matchesProperty(path, srcValue) {
|
||||
|
||||
Reference in New Issue
Block a user