# Module: marshal

## Table of contents

### Data Functions

- [default](marshal.md#default)

## Data Functions

### default

▸ **default**(`collection`, `predicate`, `rest?`): `any`

Organize a collection into value buckets according to a map

#### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `collection` | `Collection` | `undefined` |
| `predicate` | `Predicate` | `undefined` |
| `rest` | `string` | `'UNKNOWN'` |

#### Returns

`any`

#### Defined in

[src/marshal.js:45](https://github.com/Twipped/js-utils/blob/9c196e3/src/marshal.js#L45)
