Initial commit
[yaffs-website] / node_modules / grunt-contrib-watch / node_modules / lodash / lang / 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;