inital upload
This commit is contained in:
14
node_modules/graphql/jsutils/isObjectLike.js
generated
vendored
Normal file
14
node_modules/graphql/jsutils/isObjectLike.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true,
|
||||
});
|
||||
exports.isObjectLike = isObjectLike;
|
||||
|
||||
/**
|
||||
* Return true if `value` is object-like. A value is object-like if it's not
|
||||
* `null` and has a `typeof` result of "object".
|
||||
*/
|
||||
function isObjectLike(value) {
|
||||
return typeof value == 'object' && value !== null;
|
||||
}
|
||||
Reference in New Issue
Block a user