"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const SetRules_1 = require("./SetRules");
const SendVoteorder_1 = require("./SendVoteorder");
const ConfirmVote_1 = require("./ConfirmVote");
const ConfirmVoteBoundWithVote_1 = require("./ConfirmVoteBoundWithVote");
var WiseCommand;
(function (WiseCommand) {
    /**
     * This is an TS 1.6+ TypeGuard as described here: https://www.typescriptlang.org/docs/handbook/advanced-types.html
     */
    function isWiseCommand(o) {
        return typeof o === "object"
            && (SetRules_1.SetRules.isSetRules(o) ||
                SendVoteorder_1.SendVoteorder.isSendVoteorder(o) ||
                ConfirmVote_1.ConfirmVote.isConfirmVote(o) ||
                ConfirmVoteBoundWithVote_1.ConfirmVoteBoundWithVote.isConfirmVoteBoundWithVote(o));
    }
    WiseCommand.isWiseCommand = isWiseCommand;
})(WiseCommand = exports.WiseCommand || (exports.WiseCommand = {}));
//# sourceMappingURL=WiseCommand.js.map