UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

12 lines (11 loc) 365 B
// ets_tracing: off import * as Ex from "../../../../Exit/index.mjs"; import * as O from "../../../../Option/index.mjs"; import * as Collect from "./collect.mjs"; /** * Filters any `Exit.Failure` values. */ export function collectSuccess(self) { return Collect.collect_(self, Ex.fold(_ => O.none, a => O.some(a))); } //# sourceMappingURL=collectSuccess.mjs.map