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