Signature
path=null start=null
Type Parameters
- T
Parameters
- arr:
T[]- The array to be checked.
Returns
boolean - True if all values in the array are unique, false otherwise.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Checks if an array has unique values.
hasUniqueValues<T>(arr: T[]): boolean
T[] - The array to be checked.boolean - True if all values in the array are unique, false otherwise.