import * as tsplus_module_1 from "@effect/core/stm/THub/operations/TDequeue/size";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/map";
/**
 * Checks if the queue is empty.
 *
 * @tsplus getter ets/THub/TDequeue isEmpty
 */

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