import { UPDATE_OPTIONS } from "./_internal";
import { $pull } from "./pull";
const $pullAll = (obj, expr, arrayFilters = [], options = UPDATE_OPTIONS) => {
  const pullExpr = {};
  Object.entries(expr).forEach(([k, v]) => {
    pullExpr[k] = { $in: v };
  });
  return $pull(obj, pullExpr, arrayFilters, options);
};
export {
  $pullAll
};
