Update matchesWith.md
This commit is contained in:
@ -11,7 +11,7 @@ const matchesWith = (obj, source, fn) =>
|
|||||||
key =>
|
key =>
|
||||||
obj.hasOwnProperty(key) && fn
|
obj.hasOwnProperty(key) && fn
|
||||||
? fn(obj[key], source[key], key, obj, source)
|
? fn(obj[key], source[key], key, obj, source)
|
||||||
: obj[key] === source[key]
|
: obj[key] == source[key]
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user