import * as tsplus_module_1 from "@effect/core/stm/STM/operations/fold";
/**
 * Returns whether this effect is a failure.
 *
 * @tsplus getter ets/STM isFailure
 */

export function isFailure(self) {
  return tsplus_module_1.fold_(self, () => true, () => false);
}
//# sourceMappingURL=isFailure.mjs.map