Initial Save
This commit is contained in:
13
node_modules/graphql/jsutils/isNullish.js
generated
vendored
Normal file
13
node_modules/graphql/jsutils/isNullish.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = isNullish;
|
||||
|
||||
/**
|
||||
* Returns true if a value is null, undefined, or NaN.
|
||||
*/
|
||||
function isNullish(value) {
|
||||
return value === null || value === undefined || value !== value;
|
||||
}
|
||||
Reference in New Issue
Block a user