> ## 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.

# removeDuplicated

> Removes duplicates from an array of numbers or strings.

## Signature

```typescript path=null start=null theme={null}
removeDuplicated<T extends string | number>(arr: T[]): T[]
```

## Type Parameters

* **T** extends `string | number`

## Parameters

* **arr**: `T[]` - The array to remove duplicates from.

## Returns

`T[]` - A new array with duplicates removed.

## Source

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