# metadataArrayToObject

> **metadataArrayToObject**(`metadataArray`): [`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)\<`string`, `string`\>

Defined in: [packages/synapse-core/src/utils/metadata.ts:24](https://github.com/FilOzone/synapse-sdk/blob/365969fc762f19d23aad6dc609a529c10b5e639f/packages/synapse-core/src/utils/metadata.ts#L24)

## Parameters

| Parameter | Type |
| ------ | ------ |
| `metadataArray` | [`MetadataArray`](/reference/filoz/synapse-core/utils/type-aliases/metadataarray/) |

## Returns

[`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)\<`string`, `string`\>