# Module: first

## Table of contents

### Functions

- [default](first.md#default)

## Functions

### default

▸ **default**(`collection`, `count?`): `any`

Returns the first iterate value in the collection.

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `collection` | `Collection` | `undefined` |  |
| `count?` | `number` | `null` | Number of values to return. |

#### Returns

`any`

#### Defined in

[src/first.js:13](https://github.com/Twipped/js-utils/blob/9c196e3/src/first.js#L13)
