import * as tracing_1 from "../Tracing";
const fileName_1 = "(@effect-ts/system): _src/Effect/fromPredicate.ts";
import * as core from "./core";
import * as fail from "./fail";
export function fromPredicate(predicate, onFalse) {
  return a => core.suspend(() => predicate(a) ? core.succeed(a, fileName_1 + ":19:52") : fail.fail(onFalse(a), fileName_1 + ":19:67"), fileName_1 + ":19:17");
}
//# sourceMappingURL=fromPredicate.js.map