For the complete documentation index, see llms.txt. This page is also available as Markdown.

ArrayOperations

Functions

checkUnique

Checks that array of numbers are unique.

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

ArrayElementsNotUnique

error ArrayElementsNotUnique(uint256 index, uint256 duplicateEntry);

Last updated