mirror of
				https://github.com/taixingyiji/openit.git
				synced 2025-11-04 10:02:26 +00:00 
			
		
		
		
	2022.07.20 16:18:09 更新订阅
This commit is contained in:
		
							
								
								
									
										18
									
								
								utils/rm/node_modules/lodash/_baseConforms.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								utils/rm/node_modules/lodash/_baseConforms.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
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;
 | 
			
		||||
		Reference in New Issue
	
	Block a user