import * as tsplus_module_1 from "@effect/core/io/FiberRef/operations/currentEnvironment";
import * as tsplus_module_2 from "@effect/core/io/FiberRef/operations/get";
import * as tsplus_module_3 from "@effect/core/io/Effect/operations/suspendSucceed";
/**
 * Accesses the whole environment of the effect.
 *
 * @tsplus static ets/Effect/Ops environment
 */

export function environment(__tsplusTrace) {
  return tsplus_module_3.suspendSucceed(() => tsplus_module_2.get(tsplus_module_1.currentEnvironment.value, __tsplusTrace), __tsplusTrace);
}
//# sourceMappingURL=environment.mjs.map