Home > rc-js-util > dictionaryPairs
converts objects into key value pair tuples.
Signature:
export declare function dictionaryPairs<TKey extends string | number | symbol, TValue>(dictionary: {
[index in TKey]: TValue;
}): [TKey, TValue][];
Parameter | Type | Description |
---|---|---|
dictionary | { [index in TKey]: TValue; } |
Returns:
[TKey, TValue][]
See dictionaryPairs().