---
url: /nestjs-odata/api/generated/functions/headerValue.md
---
# Function: headerValue()

> **headerValue**(`value`): `string` | `undefined`

Defined in: [batch/batch-dispatch.ts:86](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/batch/batch-dispatch.ts#L86)

The first value of a header (`string[]` for repeated headers).

## Parameters

### value

`string` | readonly `string`\[] | `undefined`

## Returns

`string` | `undefined`
