projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ec66c4d8d8f18ee4c26a2b5b7e9af1823dc2f841
[yaffs-website]
/
isNull.js
1
/**
2
* Checks if `value` is `null`.
3
*
4
* @static
5
* @memberOf _
6
* @category Lang
7
* @param {*} value The value to check.
8
* @returns {boolean} Returns `true` if `value` is `null`, else `false`.
9
* @example
10
*
11
* _.isNull(null);
12
* // => true
13
*
14
* _.isNull(void 0);
15
* // => false
16
*/
17
function isNull(value) {
18
return value === null;
19
}
20
21
module.exports = isNull;