@visx/vendor
Version:
vendored packages for visx
16 lines (15 loc) • 381 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = difference;
var _index = require("../../../vendor-cjs/internmap/src/index.js");
function difference(values, ...others) {
values = new _index.InternSet(values);
for (const other of others) {
for (const value of other) {
values.delete(value);
}
}
return values;
}
;