MCPcopy
hub / github.com/lodash/lodash / matches

Function matches

test/test.js:13807–13811  ·  test/test.js::matches
(source)

Source from the content-addressed store, hash-verified

13805 var isMatches = methodName == class="st">'matches';
13806
13807 function matches(source) {
13808 return isMatches ? _.matches(source) : function(object) {
13809 return _.isMatch(object, source);
13810 };
13811 }
13812
13813 QUnit.test(class="st">'`_.' + methodName + class="st">'` should perform a deep comparison between `source` and `object`', function(assert) {
13814 assert.expect(5);

Callers 1

test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected