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

Function conforms

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

* Creates a function that invokes the predicate properties of `source` with * the corresponding property values of a given object, returning `true` if * all predicates return truthy, else `false`. * * **Note:** The created function is equivalent to `_.conformsTo`

(source)

Source from the content-addressed store, hash-verified

25988 * // => [{ 'a': 1, 'b': 2 }]
25989 */
25990 function conforms(source) {
25991 return baseConforms(baseClone(source, CLONE_DEEP_FLAG));
25992 }
25993
25994 /**
25995 * Creates a function that returns `value`.

Callers

nothing calls this directly

Calls 2

baseConformsFunction · 0.85
baseCloneFunction · 0.85

Tested by

no test coverage detected