/** * Accesses the environment of the effect. * * @tsplus static effect/core/io/Effect.Ops environmentWith */ export function environmentWith(f: (env: Env) => A): Effect { return Effect.environment().map(f) }