# Module: last

## Table of contents

### Functions

- [default](last.md#default)

## Functions

### default

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

Returns the last iterate values in the collection.

#### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `input` | `any` | `undefined` |
| `count?` | `number` | `1` |

#### Returns

`any`

#### Defined in

[src/last.js:18](https://github.com/Twipped/js-utils/blob/9c196e3/src/last.js#L18)
