# Module: map

## Table of contents

### Functions

- [default](map.md#default)

## Functions

### default

▸ **default**(`collection`, `predicate`): `any`[]

Iterates over a collection with a predicate and produces an array of generated values.

#### Parameters

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

#### Returns

`any`[]

#### Defined in

[src/map.js:17](https://github.com/Twipped/js-utils/blob/9c196e3/src/map.js#L17)
