"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSuccess = void 0;
const fold_1 = require("./fold");
/**
 * Returns whether this effect is a success.
 */
function isSuccess(self, __trace) {
    return (0, fold_1.fold_)(self, () => false, () => true, __trace);
}
exports.isSuccess = isSuccess;
//# sourceMappingURL=isSuccess.js.map