2.2.11 • Published 4 years ago

@extra-set/difference v2.2.11

Weekly downloads
189
License
MIT
Repository
github
Last release
4 years ago

Gives values of set not present in others. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:

Alternatives: difference, difference$. Similar: union, intersection, difference, symmetricDifference, isDisjoint.

This is part of package extra-set.

set.difference(x, y);
// x: a set
// y: another set
const set = require("extra-set");

var x = new Set([1, 2, 3, 4, 5]);
var y = new Set([2, 4]);
set.difference(x, y);
// Set(3) { 1, 3, 5 }

var y = new Set([2, -4]);
set.difference(x, y);
// Set(4) { 1, 3, 4, 5 }

References

2.2.11

4 years ago

2.2.10

4 years ago

2.2.9

4 years ago

2.2.7

4 years ago

2.2.8

4 years ago

2.2.5

4 years ago

2.2.4

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.63

4 years ago

2.1.61

4 years ago

2.1.62

4 years ago

2.1.58

4 years ago

2.1.59

4 years ago

2.1.60

4 years ago

2.1.57

4 years ago

2.1.56

4 years ago

2.1.55

4 years ago

2.1.54

4 years ago

2.1.52

4 years ago

2.1.53

4 years ago

2.1.51

4 years ago

2.1.50

4 years ago

2.1.49

4 years ago

2.1.47

4 years ago

2.1.48

4 years ago

2.1.46

4 years ago

2.1.45

4 years ago

2.1.44

4 years ago

2.1.43

4 years ago

2.1.41

4 years ago

2.1.42

4 years ago

2.1.40

4 years ago

2.1.38

4 years ago

2.1.39

4 years ago

2.1.36

4 years ago

2.1.37

4 years ago

2.1.35

4 years ago

2.1.34

4 years ago

2.1.32

4 years ago

2.1.33

4 years ago

2.1.31

4 years ago

2.1.30

4 years ago

2.1.29

4 years ago

2.1.27

4 years ago

2.1.28

4 years ago

2.1.26

4 years ago

2.1.25

4 years ago

2.1.24

4 years ago

2.1.23

4 years ago

2.1.22

4 years ago

2.1.21

4 years ago

2.1.19

4 years ago

2.1.20

4 years ago

2.1.18

4 years ago

2.1.17

4 years ago

2.1.16

4 years ago

2.1.15

4 years ago

2.1.14

4 years ago

2.1.13

4 years ago

2.1.12

4 years ago

2.1.11

4 years ago

2.1.10

4 years ago

2.1.9

4 years ago

2.1.8

4 years ago

2.0.17

5 years ago

2.0.18

5 years ago

2.0.15

5 years ago

2.1.1

5 years ago

2.0.16

5 years ago

2.0.14

5 years ago

2.1.0

5 years ago

2.0.13

5 years ago

2.0.11

5 years ago

2.0.12

5 years ago

2.0.10

5 years ago

2.0.7

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago