import * as tsplus_module_1 from "@effect/core/stm/TPriorityQueue/operations/retainIf";
/**
 * Removes all elements from the queue matching the specified predicate.
 *
 * @tsplus fluent ets/TPriorityQueue removeIf
 */

export function removeIf_(self, f) {
  return tsplus_module_1.retainIf_(self, a => !f(a));
}
/**
 * Removes all elements from the queue matching the specified predicate.
 *
 * @tsplus static ets/TPriorityQueue/Aspects removeIf
 */

export const removeIf = f => self => removeIf_(self, f);
//# sourceMappingURL=removeIf.mjs.map