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

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

## Parameters

### pair

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

## Returns

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