# ArrayOperations

### Functions <a href="#functions" id="functions"></a>

#### checkUnique <a href="#checkunique" id="checkunique"></a>

Checks that array of numbers are unique.

```solidity
function checkUnique(uint32[] memory array, uint256 maxArrayElementValue) internal pure;
```

**Parameters**

| Name                   | Type       | Description                      |
| ---------------------- | ---------- | -------------------------------- |
| `array`                | `uint32[]` | Array of numbers to check.       |
| `maxArrayElementValue` | `uint256`  | Maximum value possible in Array. |

### Errors <a href="#errors" id="errors"></a>

#### ArrayElementsNotUnique <a href="#arrayelementsnotunique" id="arrayelementsnotunique"></a>

```solidity
error ArrayElementsNotUnique(uint256 index, uint256 duplicateEntry);
```

<br>
