diff options
Diffstat (limited to 'deps/npm/node_modules/cli-table2/node_modules/lodash/lang/isNull.js')
-rw-r--r-- | deps/npm/node_modules/cli-table2/node_modules/lodash/lang/isNull.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/deps/npm/node_modules/cli-table2/node_modules/lodash/lang/isNull.js b/deps/npm/node_modules/cli-table2/node_modules/lodash/lang/isNull.js new file mode 100644 index 0000000000..ec66c4d8d8 --- /dev/null +++ b/deps/npm/node_modules/cli-table2/node_modules/lodash/lang/isNull.js @@ -0,0 +1,21 @@ +/** + * Checks if `value` is `null`. + * + * @static + * @memberOf _ + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `null`, else `false`. + * @example + * + * _.isNull(null); + * // => true + * + * _.isNull(void 0); + * // => false + */ +function isNull(value) { + return value === null; +} + +module.exports = isNull; |