init
This commit is contained in:
26
node_modules/ramda/es/isNil.js
generated
vendored
Normal file
26
node_modules/ramda/es/isNil.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import _curry1 from "./internal/_curry1.js";
|
||||
/**
|
||||
* Checks if the input value is `null` or `undefined`.
|
||||
*
|
||||
* @func
|
||||
* @memberOf R
|
||||
* @since v0.9.0
|
||||
* @category Type
|
||||
* @sig * -> Boolean
|
||||
* @param {*} x The value to test.
|
||||
* @return {Boolean} `true` if `x` is `undefined` or `null`, otherwise `false`.
|
||||
* @example
|
||||
*
|
||||
* R.isNil(null); //=> true
|
||||
* R.isNil(undefined); //=> true
|
||||
* R.isNil(0); //=> false
|
||||
* R.isNil([]); //=> false
|
||||
*/
|
||||
|
||||
var isNil =
|
||||
/*#__PURE__*/
|
||||
_curry1(function isNil(x) {
|
||||
return x == null;
|
||||
});
|
||||
|
||||
export default isNil;
|
Reference in New Issue
Block a user