@xylabs/set 4.13.20 → 4.13.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +103 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,13 +12,113 @@
12
12
  [![snyk-badge][]][snyk-link]
13
13
  [![socket-badge][]][socket-link]
14
14
 
15
- Version: 4.13.19
16
15
 
17
16
  Base functionality used throughout XY Labs TypeScript/JavaScript libraries
18
17
 
19
- ## Documentation
18
+ ## API Documentation
19
+
20
+ **@xylabs/set**
21
+
22
+ ***
23
+
24
+ ## Functions
25
+
26
+ - [difference](#functions/difference)
27
+ - [intersection](#functions/intersection)
28
+ - [union](#functions/union)
29
+
30
+ ### functions
31
+
32
+ ### <a id="difference"></a>difference
33
+
34
+ [**@xylabs/set**](#../README)
35
+
36
+ ***
37
+
38
+ ```ts
39
+ function difference<TKey>(a, b): Set<TKey>;
40
+ ```
41
+
42
+ ## Type Parameters
43
+
44
+ ### TKey
45
+
46
+ `TKey`
47
+
48
+ ## Parameters
49
+
50
+ ### a
51
+
52
+ `Set`\<`TKey`\>
53
+
54
+ ### b
55
+
56
+ `Set`\<`TKey`\>
57
+
58
+ ## Returns
59
+
60
+ `Set`\<`TKey`\>
61
+
62
+ ### <a id="intersection"></a>intersection
63
+
64
+ [**@xylabs/set**](#../README)
65
+
66
+ ***
67
+
68
+ ```ts
69
+ function intersection<TKey>(a, b): Set<TKey>;
70
+ ```
71
+
72
+ ## Type Parameters
73
+
74
+ ### TKey
75
+
76
+ `TKey`
77
+
78
+ ## Parameters
79
+
80
+ ### a
81
+
82
+ `Set`\<`TKey`\>
83
+
84
+ ### b
85
+
86
+ `Set`\<`TKey`\>
87
+
88
+ ## Returns
89
+
90
+ `Set`\<`TKey`\>
91
+
92
+ ### <a id="union"></a>union
93
+
94
+ [**@xylabs/set**](#../README)
95
+
96
+ ***
97
+
98
+ ```ts
99
+ function union<TKey>(a, b): Set<TKey>;
100
+ ```
101
+
102
+ ## Type Parameters
103
+
104
+ ### TKey
105
+
106
+ `TKey`
107
+
108
+ ## Parameters
109
+
110
+ ### a
111
+
112
+ `Set`\<`TKey`\>
113
+
114
+ ### b
115
+
116
+ `Set`\<`TKey`\>
117
+
118
+ ## Returns
119
+
120
+ `Set`\<`TKey`\>
20
121
 
21
- Coming Soon!
22
122
 
23
123
  Part of [sdk-js](https://www.npmjs.com/package/@xyo-network/sdk-js)
24
124
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/set",
3
- "version": "4.13.20",
3
+ "version": "4.13.21",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "set",