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

5 years ago

2.1.59

5 years ago

2.1.60

5 years ago

2.1.57

5 years ago

2.1.56

5 years ago

2.1.55

5 years ago

2.1.54

5 years ago

2.1.52

5 years ago

2.1.53

5 years ago

2.1.51

5 years ago

2.1.50

5 years ago

2.1.49

5 years ago

2.1.47

5 years ago

2.1.48

5 years ago

2.1.46

5 years ago

2.1.45

5 years ago

2.1.44

5 years ago

2.1.43

5 years ago

2.1.41

5 years ago

2.1.42

5 years ago

2.1.40

5 years ago

2.1.38

5 years ago

2.1.39

5 years ago

2.1.36

5 years ago

2.1.37

5 years ago

2.1.35

5 years ago

2.1.34

5 years ago

2.1.32

5 years ago

2.1.33

5 years ago

2.1.31

5 years ago

2.1.30

5 years ago

2.1.29

5 years ago

2.1.27

5 years ago

2.1.28

5 years ago

2.1.26

5 years ago

2.1.25

5 years ago

2.1.24

5 years ago

2.1.23

5 years ago

2.1.22

5 years ago

2.1.21

5 years ago

2.1.19

5 years ago

2.1.20

5 years ago

2.1.18

5 years ago

2.1.17

5 years ago

2.1.16

5 years ago

2.1.15

5 years ago

2.1.14

5 years ago

2.1.13

5 years ago

2.1.12

5 years ago

2.1.11

5 years ago

2.1.10

5 years ago

2.1.9

5 years ago

2.1.8

5 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