import { concreteTPriorityQueue } from "@effect/core/stm/TPriorityQueue/operations/_internal/InternalTPriorityQueue" /** * Checks whether the queue is not empty. * * @tsplus getter effect/core/stm/TPriorityQueue isNonEmpty */ export function isNonEmpty(self: TPriorityQueue): USTM { concreteTPriorityQueue(self) return self.map.get.map((map) => map.isNonEmpty) }