# Module: max

## Table of contents

### Math Functions

- [default](max.md#default)

## Math Functions

### default

▸ **default**(`...collection`): `number` \| `Date`

Returns the largest of the values given.
If values are dates, returns the most recent.

#### Parameters

| Name | Type |
| :------ | :------ |
| `...collection` | (`number` \| `Date`)[] |

#### Returns

`number` \| `Date`

#### Defined in

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