# Module: range

## Table of contents

### Functions

- [default](range.md#default)

## Functions

### default

▸ **default**(`start`, `end`, `step?`, `predicate?`): `any`[]

Produces an array of values from the start number to the end number

#### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `start` | `number` | `undefined` |  |
| `end` | `number` | `undefined` |  |
| `step?` | `number` | `1` |  |
| `predicate?` | `Predicate` | `null` | A function to map against each iterated step, similar to Array.from() |

#### Returns

`any`[]

#### Defined in

[src/range.js:15](https://github.com/Twipped/js-utils/blob/9c196e3/src/range.js#L15)
