Checks if an array has any duplicate elements.
The type of elements in the array.
The array to check for duplicates.
A boolean indicating whether the array has duplicates.
Generated using TypeDoc
Checks if an array has any duplicate elements.