import * as tsplus_module_1 from "@tsplus/stdlib/collections/SortedMap/isEmpty";
import * as tsplus_module_2 from "@effect/core/stm/TRef/operations/get";
import * as tsplus_module_3 from "@effect/core/stm/STM/operations/map";
import { concreteTPriorityQueue } from "@effect/core/stm/TPriorityQueue/operations/_internal/InternalTPriorityQueue";
/**
 * Checks whether the queue is empty.
 *
 * @tsplus getter ets/TPriorityQueue isEmpty
 */

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