mirror of
				https://github.com/taixingyiji/openit.git
				synced 2025-11-04 05:02:29 +00:00 
			
		
		
		
	Hello World
This commit is contained in:
		
							
								
								
									
										21
									
								
								utils/rm/node_modules/lodash/identity.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								utils/rm/node_modules/lodash/identity.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
/**
 | 
			
		||||
 * This method returns the first argument it receives.
 | 
			
		||||
 *
 | 
			
		||||
 * @static
 | 
			
		||||
 * @since 0.1.0
 | 
			
		||||
 * @memberOf _
 | 
			
		||||
 * @category Util
 | 
			
		||||
 * @param {*} value Any value.
 | 
			
		||||
 * @returns {*} Returns `value`.
 | 
			
		||||
 * @example
 | 
			
		||||
 *
 | 
			
		||||
 * var object = { 'a': 1 };
 | 
			
		||||
 *
 | 
			
		||||
 * console.log(_.identity(object) === object);
 | 
			
		||||
 * // => true
 | 
			
		||||
 */
 | 
			
		||||
function identity(value) {
 | 
			
		||||
  return value;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
module.exports = identity;
 | 
			
		||||
		Reference in New Issue
	
	Block a user