ArrayOperations
Last updated
Last updated
Checks that array of numbers are unique.
function checkUnique(uint32[] memory array, uint256 maxArrayElementValue) internal pure;
Parameters
array
uint32[]
Array of numbers to check.
maxArrayElementValue
uint256
Maximum value possible in Array.
error ArrayElementsNotUnique(uint256 index, uint256 duplicateEntry);