import * as tsplus_module_1 from "@effect/core/stm/TRef/operations/get";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/map";
import { concreteTReentrantLock } from "@effect/core/stm/TReentrantLock/operations/_internal/InternalTReentrantLock";
/**
 * Determines if a write lock is held by some fiber.
 *
 * @tsplus getter ets/TReentrantLock writeLocks
 */

export function writeLocks(self) {
  void 0;
  return tsplus_module_2.map_(tsplus_module_1.get(self.data), _ => _.writeLocks);
}
//# sourceMappingURL=writeLocks.mjs.map