source: node_modules/ramda-adjunct/lib/isNull.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 587 bytes
Line 
1"use strict";
2
3exports.__esModule = true;
4exports["default"] = void 0;
5var _ramda = require("ramda");
6/**
7 * Checks if input value is `null`.
8 *
9 * @func isNull
10 * @memberOf RA
11 * @since {@link https://char0n.github.io/ramda-adjunct/0.1.0|v0.1.0}
12 * @category Type
13 * @sig * -> Boolean
14 * @param {*} val The value to test
15 * @return {boolean}
16 * @see {@link RA.isNotNull|isNotNull}
17 * @example
18 *
19 * RA.isNull(1); //=> false
20 * RA.isNull(undefined); //=> false
21 * RA.isNull(null); //=> true
22 */
23var isNull = (0, _ramda.equals)(null);
24var _default = isNull;
25exports["default"] = _default;
Note: See TracBrowser for help on using the repository browser.