forge-arena / ui /node_modules /d3-array /src /difference.js
Amogh-kal1's picture
Upload folder using huggingface_hub
db75f77 verified
import {InternSet} from "internmap";
export default function difference(values, ...others) {
values = new InternSet(values);
for (const other of others) {
for (const value of other) {
values.delete(value);
}
}
return values;
}