@fabric-es/fabric-cqrs
Version:
Hyperledger Fabric middleware for event sourcing and cqrs pattern
10 lines • 635 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isOutputCounter = void 0;
const isOutputCounter = (input) => (input === null || input === void 0 ? void 0 : input.description) !== undefined &&
(input === null || input === void 0 ? void 0 : input.eventInvolved) !== undefined &&
(input === null || input === void 0 ? void 0 : input.id) !== undefined &&
(input === null || input === void 0 ? void 0 : input.tags) !== undefined &&
(input === null || input === void 0 ? void 0 : input.value) !== undefined;
exports.isOutputCounter = isOutputCounter;
//# sourceMappingURL=typeGuard.js.map