Skip to content

Commit 14974fe

Browse files
author
Docs Syncer
committed
CI: 2.7.1
1 parent c3682db commit 14974fe

File tree

1 file changed

+76
-1
lines changed

1 file changed

+76
-1
lines changed

docs/reference/contracts/libs/arrays/SetHelper.md

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,42 @@ function add(StringSet.Set storage set, string[] memory array_) internal
4747
```
4848

4949
The function to insert an array of elements into the string set
50+
### strictAdd
51+
52+
```solidity
53+
function strictAdd(
54+
EnumerableSet.AddressSet storage set,
55+
address[] memory array_
56+
) internal
57+
```
58+
59+
The function for the strict insertion of an array of elements into the address set
60+
61+
62+
Parameters:
63+
64+
| Name | Type | Description |
65+
| :----- | :------------------------------ | :----------------------------------- |
66+
| set | struct EnumerableSet.AddressSet | the set to insert the elements into |
67+
| array_ | address[] | the elements to be inserted |
68+
69+
### strictAdd
70+
71+
```solidity
72+
function strictAdd(
73+
EnumerableSet.UintSet storage set,
74+
uint256[] memory array_
75+
) internal
76+
```
77+
78+
The function for the strict insertion of an array of elements into the uint256 set
79+
### strictAdd
80+
81+
```solidity
82+
function strictAdd(StringSet.Set storage set, string[] memory array_) internal
83+
```
84+
85+
The function for the strict insertion of an array of elements into the string set
5086
### remove
5187

5288
```solidity
@@ -82,4 +118,43 @@ The function to remove an array of elements from the uint256 set
82118
function remove(StringSet.Set storage set, string[] memory array_) internal
83119
```
84120

85-
The function to remove an array of elements from the string set
121+
The function to remove an array of elements from the string set
122+
### strictRemove
123+
124+
```solidity
125+
function strictRemove(
126+
EnumerableSet.AddressSet storage set,
127+
address[] memory array_
128+
) internal
129+
```
130+
131+
The function for the strict removal of an array of elements from the address set
132+
133+
134+
Parameters:
135+
136+
| Name | Type | Description |
137+
| :----- | :------------------------------ | :----------------------------------- |
138+
| set | struct EnumerableSet.AddressSet | the set to remove the elements from |
139+
| array_ | address[] | the elements to be removed |
140+
141+
### strictRemove
142+
143+
```solidity
144+
function strictRemove(
145+
EnumerableSet.UintSet storage set,
146+
uint256[] memory array_
147+
) internal
148+
```
149+
150+
The function for the strict removal of an array of elements from the uint256 set
151+
### strictRemove
152+
153+
```solidity
154+
function strictRemove(
155+
StringSet.Set storage set,
156+
string[] memory array_
157+
) internal
158+
```
159+
160+
The function for the strict removal of an array of elements from the string set

0 commit comments

Comments
 (0)