import * as tsplus_module_1 from "@effect/core/io/Effect/operations/die";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/filterOrElse";
export const filterOrDie_ = filterOrDie_1;

function filterOrDie_1(self, f, defect, __tsplusTrace) {
  return tsplus_module_2.filterOrElse_(self, f, () => tsplus_module_1.die(defect, __tsplusTrace), __tsplusTrace);
}

export function filterOrDie(f, defect, __tsplusTrace) {
  return self => filterOrDie_1(self, f, defect, __tsplusTrace);
}
//# sourceMappingURL=filterOrDie.mjs.map