import * as tsplus_module_1 from "@effect/core/stm/TQueue/operations/capacity";
import * as tsplus_module_2 from "@effect/core/stm/TQueue/operations/size";
import * as tsplus_module_3 from "@effect/core/stm/STM/operations/map";
/**
 * Checks if the queue is at capacity.
 *
 * @tsplus getter ets/TQueue isFull
 */

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