> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: computeHeadingLevel()

> **computeHeadingLevel**(`element`: `Element`): `number` | `undefined`

## Parameters

| Parameter | Type      |
| --------- | --------- |
| `element` | `Element` |

## Returns

`number` | `undefined`
