# Module: reduce

## Table of contents

### Functions

- [default](reduce.md#default)

## Functions

### default

▸ **default**(`collection`, `predicate`, `initial`): `any`

Reduces a collection to a single value in the usual manner

#### Parameters

| Name | Type |
| :------ | :------ |
| `collection` | `Collection` |
| `predicate` | `Function` |
| `initial` | `any` |

#### Returns

`any`

#### Defined in

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