// ets_tracing: off import * as O from "../Option/core.js" import type { Effect } from "./effect.js" import { map_ } from "./map.js" /** * Maps the success value of this effect to an optional value. */ export function asSome(fa: Effect, __trace?: string) { return map_(fa, O.some, __trace) }