MCPcopy Create free account
hub / github.com/deployd/deployd / conformsTo

Function conformsTo

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

* Checks if `object` conforms to `source` by invoking the predicate * properties of `source` with the corresponding property values of `object`. * * **Note:** This method is equivalent to `_.conforms` when `source` is * partially applied. * * @st

(object, source)

Source from the content-addressed store, hash-verified

21772 * // => false
21773 */
21774 function conformsTo(object, source) {
21775 return source == null || baseConformsTo(object, source, keys(source));
21776 }
21777
21778 /**
21779 * Performs a

Callers

nothing calls this directly

Calls 2

baseConformsToFunction · 0.85
keysFunction · 0.85

Tested by

no test coverage detected