---
url: https://docs.moqtail.dev/ts/api/model/namespaces/SetupOption/functions/fromKeyValuePair.md
---
# Function: fromKeyValuePair()

> **fromKeyValuePair**(`pair`): [`SetupOption`](../../../type-aliases/SetupOption.md) | `undefined`

## Parameters

### pair

[`KeyValuePair`](../../../classes/KeyValuePair.md)

## Returns

[`SetupOption`](../../../type-aliases/SetupOption.md) | `undefined`
