<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [dictionaryPairs](./rc-js-util.dictionarypairs.md)

## dictionaryPairs() function

converts objects into key value pair tuples.

**Signature:**

```typescript
export declare function dictionaryPairs<TKey extends string | number | symbol, TValue>(dictionary: {
    [index in TKey]: TValue;
}): [TKey, TValue][];
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

dictionary


</td><td>

{ \[index in TKey\]: TValue; }


</td><td>


</td></tr>
</tbody></table>
**Returns:**

\[TKey, TValue\]\[\]

## Remarks

See [dictionaryPairs()](./rc-js-util.dictionarypairs.md)<!-- -->.

