# Module: uniq

## Table of contents

### Functions

- [default](uniq.md#default)

## Functions

### default

▸ **default**(`collection`, `predicate?`): `Collection`

Remove duplicates from a collection

#### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `collection` | `Collection` | `undefined` |
| `predicate` | `Predicate` | `null` |

#### Returns

`Collection`

#### Defined in

[src/uniq.js:19](https://github.com/Twipped/js-utils/blob/9c196e3/src/uniq.js#L19)
