mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Remove references to _.
This commit is contained in:
7
isNil.js
7
isNil.js
@@ -2,20 +2,19 @@
|
||||
* Checks if `value` is `null` or `undefined`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Lang
|
||||
* @param {*} value The value to check.
|
||||
* @returns {boolean} Returns `true` if `value` is nullish, else `false`.
|
||||
* @example
|
||||
*
|
||||
* _.isNil(null);
|
||||
* isNil(null);
|
||||
* // => true
|
||||
*
|
||||
* _.isNil(void 0);
|
||||
* isNil(void 0);
|
||||
* // => true
|
||||
*
|
||||
* _.isNil(NaN);
|
||||
* isNil(NaN);
|
||||
* // => false
|
||||
*/
|
||||
function isNil(value) {
|
||||
|
||||
Reference in New Issue
Block a user