source: trip-planner-front/node_modules/lodash/isNull.js@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 381 bytes
RevLine 
[6a3a178]1/**
2 * Checks if `value` is `null`.
3 *
4 * @static
5 * @memberOf _
6 * @since 0.1.0
7 * @category Lang
8 * @param {*} value The value to check.
9 * @returns {boolean} Returns `true` if `value` is `null`, else `false`.
10 * @example
11 *
12 * _.isNull(null);
13 * // => true
14 *
15 * _.isNull(void 0);
16 * // => false
17 */
18function isNull(value) {
19 return value === null;
20}
21
22module.exports = isNull;
Note: See TracBrowser for help on using the repository browser.