mirror of
				https://github.com/taixingyiji/openit.git
				synced 2025-11-04 14:32:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			416 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			416 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/**
 | 
						|
 * Checks if `value` is `undefined`.
 | 
						|
 *
 | 
						|
 * @static
 | 
						|
 * @since 0.1.0
 | 
						|
 * @memberOf _
 | 
						|
 * @category Lang
 | 
						|
 * @param {*} value The value to check.
 | 
						|
 * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
 | 
						|
 * @example
 | 
						|
 *
 | 
						|
 * _.isUndefined(void 0);
 | 
						|
 * // => true
 | 
						|
 *
 | 
						|
 * _.isUndefined(null);
 | 
						|
 * // => false
 | 
						|
 */
 | 
						|
function isUndefined(value) {
 | 
						|
  return value === undefined;
 | 
						|
}
 | 
						|
 | 
						|
module.exports = isUndefined;
 |