Checks if an array has unique values.
The array to be checked.
True if all values in the array are unique, false otherwise.
Checks if an array has unique values.