import * as tsplus_module_1 from "@tsplus/stdlib/collections/ImmutableMap/get";
import * as tsplus_module_2 from "@tsplus/stdlib/data/Maybe/map";
import { concreteFiberRefs } from "@effect/core/io/FiberRefs/operations/_internal/FiberRefsInternal";
/**
 * Gets the value of the specified `FiberRef` in this collection of `FiberRef`
 * values if it exists or `None` otherwise.
 *
 * @tsplus fluent ets/FiberRefs get
 */

export function get_(self, fiberRef) {
  void 0;
  return tsplus_module_2.map_(tsplus_module_1.get_(self.fiberRefLocals, fiberRef), list => list.head.get(1));
}
/**
 * Gets the value of the specified `FiberRef` in this collection of `FiberRef`
 * values if it exists or `None` otherwise.
 *
 * @tsplus static ets/FiberRefs/Aspects get
 */

export const get = fiberRef => self => get_(self, fiberRef);
//# sourceMappingURL=get.mjs.map