Skip to content

Commit

Permalink
CI: 2.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Docs Syncer committed Mar 14, 2024
1 parent c3682db commit 14974fe
Showing 1 changed file with 76 additions and 1 deletion.
77 changes: 76 additions & 1 deletion docs/reference/contracts/libs/arrays/SetHelper.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,42 @@ function add(StringSet.Set storage set, string[] memory array_) internal
```

The function to insert an array of elements into the string set
### strictAdd

```solidity
function strictAdd(
EnumerableSet.AddressSet storage set,
address[] memory array_
) internal
```

The function for the strict insertion of an array of elements into the address set


Parameters:

| Name | Type | Description |
| :----- | :------------------------------ | :----------------------------------- |
| set | struct EnumerableSet.AddressSet | the set to insert the elements into |
| array_ | address[] | the elements to be inserted |

### strictAdd

```solidity
function strictAdd(
EnumerableSet.UintSet storage set,
uint256[] memory array_
) internal
```

The function for the strict insertion of an array of elements into the uint256 set
### strictAdd

```solidity
function strictAdd(StringSet.Set storage set, string[] memory array_) internal
```

The function for the strict insertion of an array of elements into the string set
### remove

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

The function to remove an array of elements from the string set
The function to remove an array of elements from the string set
### strictRemove

```solidity
function strictRemove(
EnumerableSet.AddressSet storage set,
address[] memory array_
) internal
```

The function for the strict removal of an array of elements from the address set


Parameters:

| Name | Type | Description |
| :----- | :------------------------------ | :----------------------------------- |
| set | struct EnumerableSet.AddressSet | the set to remove the elements from |
| array_ | address[] | the elements to be removed |

### strictRemove

```solidity
function strictRemove(
EnumerableSet.UintSet storage set,
uint256[] memory array_
) internal
```

The function for the strict removal of an array of elements from the uint256 set
### strictRemove

```solidity
function strictRemove(
StringSet.Set storage set,
string[] memory array_
) internal
```

The function for the strict removal of an array of elements from the string set

0 comments on commit 14974fe

Please sign in to comment.