"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var VoteOperation;
(function (VoteOperation) {
    /**
     * This is an TS 1.6+ TypeGuard as described here: https://www.typescriptlang.org/docs/handbook/advanced-types.html
     */
    function isVoteOperation(obj) {
        return obj.voter !== undefined
            && obj.author !== undefined
            && obj.permlink !== undefined
            && obj.weight !== undefined;
    }
    VoteOperation.isVoteOperation = isVoteOperation;
})(VoteOperation = exports.VoteOperation || (exports.VoteOperation = {}));
//# sourceMappingURL=VoteOperation.js.map