> ## Documentation Index
> Fetch the complete documentation index at: https://kk-83bff226.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# hasUniqueValues

> Checks if an array has unique values.

## Signature

```typescript path=null start=null theme={null}
hasUniqueValues<T>(arr: T[]): boolean
```

## Type Parameters

* **T**

## Parameters

* **arr**: `T[]` - The array to be checked.

## Returns

`boolean` - True if all values in the array are unique, false otherwise.

## Source

Defined in [array.ts:87](https://github.com/koji/ichigyou/blob/main/src/array.ts#L87)
