You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- ⬆️ upgrade uuid dep #3115 [`f9ef8bd`](https://github.com/open-wa/wa-automate-nodejs/commit/f9ef8bd6239b979c26a35922e22065ce1f08b467)
15
27
- ⬆️ upgrade discord collection dep #3115 [`ec6561a`](https://github.com/open-wa/wa-automate-nodejs/commit/ec6561a60d748a84e4ffb88a4cb7c2458569e3d6)
16
28
- 🗑️ depreacted lists and buttons till further notice #3116 [`45594e0`](https://github.com/open-wa/wa-automate-nodejs/commit/45594e0f1a40e2a70335a6ac659e80c4bdc80681)
|`fn`| (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown`| Function used to test (should return a boolean) |
1727
+
|`fn`| (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean`| Function used to test (should return a boolean) |
The subtract method returns a new structure containing items where the keys and values of the original structure are not present in the other.
1827
-
1828
-
#### Type parameters
1829
-
1830
-
| Name |
1831
-
| :------ |
1832
-
|`T`|
1833
-
1834
-
#### Parameters
1835
-
1836
-
| Name | Type | Description |
1837
-
| :------ | :------ | :------ |
1838
-
|`other`|`ReadonlyCollection`<`K`, `T`\>| The other Collection to filter against |
1839
-
1840
-
#### Returns
1841
-
1842
-
`Collection`<`K`, `V`\>
1843
-
1844
-
#### Inherited from
1845
-
1846
-
BaseCollection.subtract
1847
-
1848
-
___
1849
-
1850
1822
### sweep
1851
1823
1852
1824
▸ **sweep**(`fn`): `number`
@@ -1857,7 +1829,7 @@ Removes items that satisfy the provided filter function.
1857
1829
1858
1830
| Name | Type | Description |
1859
1831
| :------ | :------ | :------ |
1860
-
|`fn`| (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `unknown`| Function used to test (should return a boolean) |
1832
+
|`fn`| (`value`: `V`, `key`: `K`, `collection`: [`Collection`](/api/classes/structures_Collector.Collection.md)<`K`, `V`\>) => `boolean`| Function used to test (should return a boolean) |
0 commit comments