Sha256: ef6ccf2c230ac284d2be5512e131190eb5ed65e36b75da6c111cdf191860b632

Contents?: true

Size: 484 Bytes

Versions: 274

Compression:

Stored size: 484 Bytes

Contents

var baseConformsTo = require('./_baseConformsTo'),
    keys = require('./keys');

/**
 * 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.
 */
function baseConforms(source) {
  var props = keys(source);
  return function(object) {
    return baseConformsTo(object, source, props);
  };
}

module.exports = baseConforms;

Version data entries

274 entries across 272 versions & 30 rubygems

Version Path
sumomo-0.7.3 data/sumomo/api_modules/node_modules/lodash/_baseConforms.js
sumomo-0.7.2 data/sumomo/api_modules/node_modules/lodash/_baseConforms.js
sumomo-0.7.1 data/sumomo/api_modules/node_modules/lodash/_baseConforms.js
sumomo-0.6.4 data/sumomo/api_modules/node_modules/lodash/_baseConforms.js
sumomo-0.6.3 data/sumomo/api_modules/node_modules/lodash/_baseConforms.js
sumomo-0.6.2 data/sumomo/api_modules/node_modules/lodash/_baseConforms.js
sumomo-0.6.1 data/sumomo/api_modules/node_modules/lodash/_baseConforms.js
affiliator-0.2.1 node_modules/lodash/_baseConforms.js
sumomo-0.6.0 data/sumomo/api_modules/node_modules/lodash/_baseConforms.js
guard-sass-lint-0.1.2 node_modules/lodash/_baseConforms.js
guard-sass-lint-0.1.1 node_modules/lodash/_baseConforms.js
lanes-0.8.0 node_modules/lodash/_baseConforms.js
lanes-0.8.0 node_modules/globule/node_modules/lodash/_baseConforms.js
minimum_viable_product-0.0.11 test/dummy/node_modules/lodash/_baseConforms.js