MCPcopy
hub / github.com/lodash/lodash / conformsTo

Function conformsTo

lodash.js:11247–11249  ·  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. * * @static * @memberOf _

(object, source)

Source from the content-addressed store, hash-verified

11245 * // => false
11246 */
11247 function conformsTo(object, source) {
11248 return source == null || baseConformsTo(object, source, keys(source));
11249 }
11250
11251 /**
11252 * Performs a

Callers

nothing calls this directly

Calls 2

baseConformsToFunction · 0.85
keysFunction · 0.85

Tested by

no test coverage detected