source: node_modules/victory-vendor/lib-vendor/d3-array/src/difference.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 381 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = difference;
7var _index = require("../../../lib-vendor/internmap/src/index.js");
8function difference(values, ...others) {
9 values = new _index.InternSet(values);
10 for (const other of others) {
11 for (const value of other) {
12 values.delete(value);
13 }
14 }
15 return values;
16}
Note: See TracBrowser for help on using the repository browser.