@kamilkisiela/graphql-tools
Version:
Useful tools to create and manipulate GraphQL schemas.
14 lines • 350 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
function isEmptyObject(obj) {
if (!obj) {
return true;
}
for (var key in obj) {
if (Object.hasOwnProperty.call(obj, key)) {
return false;
}
}
return true;
}
exports.default = isEmptyObject;
//# sourceMappingURL=isEmptyObject.js.map