> ## 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.

# mean

> Calculates the mean of an array of numbers.

## Signature

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

## Parameters

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

## Returns

`number` - The mean of the array of numbers.

## Source

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