MCPcopy Index your code
hub / github.com/deployd/deployd / baseConforms

Function baseConforms

test-app/public/sinon.js:13334–13339  ·  view source on GitHub ↗

* The base implementation of `_.conforms` which doesn't clone `source`. * * @private * @param {Object} source The object of property predicates to conform to. * @returns {Function} Returns the new spec function.

(source)

Source from the content-addressed store, hash-verified

13332 * @returns {Function} Returns the new spec function.
13333 */
13334 function baseConforms(source) {
13335 var props = keys(source);
13336 return function(object) {
13337 return baseConformsTo(object, source, props);
13338 };
13339 }
13340
13341 /**
13342 * The base implementation of `_.conformsTo` which accepts `props` to check.

Callers 1

conformsFunction · 0.85

Calls 2

keysFunction · 0.85
baseConformsToFunction · 0.85

Tested by

no test coverage detected