> For the complete documentation index, see [llms.txt](https://minwork.gitbook.io/array/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minwork.gitbook.io/array/validating-array/isunique.md).

# isUnique

#### Definition

```php
Arr::isUnique(array $array, bool $strict = false): bool
```

#### Description

Check if array values are unique

#### Examples

```php
// Without strict flag 1 is equal to '1' 
Arr::isUnique([1, '1', true]) -> false

Arr::isUnique([1, '1', true], true) -> true
```
