# Module: filter

## Table of contents

### Functions

- [default](filter.md#default)

## Functions

### default

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

Filter a collection using a predicate

#### Parameters

| Name | Type |
| :------ | :------ |
| `collection` | `Collection` |
| `predicate` | `Predicate` |

#### Returns

`Collection`

#### Defined in

[src/filter.js:21](https://github.com/Twipped/js-utils/blob/9c196e3/src/filter.js#L21)
