"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resurrect = void 0;
// ets_tracing: off
const Function_1 = require("../Function");
const Option_1 = require("../Option");
const unrefine_1 = require("./unrefine");
/**
 * Unearth the unchecked failure of the effect. (opposite of `orDie`)
 */
function resurrect(self, __trace) {
    return (0, unrefine_1.unrefineWith_)(self, Option_1.some, Function_1.identity, __trace);
}
exports.resurrect = resurrect;
//# sourceMappingURL=resurrect.js.map