1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| /**
| * @fileoverview Check whether the given variable is null or not.
| * @author NHN FE Development Lab <dl_javascript@nhn.com>
| */
|
| 'use strict';
|
| /**
| * Check whether the given variable is null or not.
| * If the given variable(arguments[0]) is null, returns true.
| * @param {*} obj - Target for checking
| * @returns {boolean} Is null?
| * @memberof module:type
| */
| function isNull(obj) {
| return obj === null;
| }
|
| module.exports = isNull;
|
|