You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					34 lines
				
				812 B
			
		
		
			
		
	
	
					34 lines
				
				812 B
			| 
											2 years ago
										 | /** | ||
|  |  * lodash 4.0.0 (Custom Build) <https://lodash.com/>
 | ||
|  |  * Build: `lodash modularize exports="npm" -o ./` | ||
|  |  * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
 | ||
|  |  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 | ||
|  |  * Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | ||
|  |  * Available under MIT license <https://lodash.com/license>
 | ||
|  |  */ | ||
|  | 
 | ||
|  | /** | ||
|  |  * Checks if `value` is `null` or `undefined`. | ||
|  |  * | ||
|  |  * @static | ||
|  |  * @memberOf _ | ||
|  |  * @category Lang | ||
|  |  * @param {*} value The value to check. | ||
|  |  * @returns {boolean} Returns `true` if `value` is nullish, else `false`. | ||
|  |  * @example | ||
|  |  * | ||
|  |  * _.isNil(null); | ||
|  |  * // => true
 | ||
|  |  * | ||
|  |  * _.isNil(void 0); | ||
|  |  * // => true
 | ||
|  |  * | ||
|  |  * _.isNil(NaN); | ||
|  |  * // => false
 | ||
|  |  */ | ||
|  | function isNil(value) { | ||
|  |   return value == null; | ||
|  | } | ||
|  | 
 | ||
|  | module.exports = isNil; |