> ## Documentation Index
> Fetch the complete documentation index at: https://kk-83bff226.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# findMax

> Finds the maximum value in an array of numbers.

## Signature

```typescript path=null start=null theme={null}
findMax(arr: number[]): number
```

## Parameters

* **arr**: `number[]` - The array of numbers.

## Returns

`number` - The maximum value in the array.

## Source

Defined in [number.ts:42](https://github.com/koji/ichigyou/blob/main/src/number.ts#L42)
