UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

11 lines 382 B
/** * @public * Converts a `Map` into an `Array` of its key value pairs. * * @returns An array of tuples, the first value corresponding to the key and the second to the value. * * @remarks * See {@link mapEntriesToArray}. */ export declare function mapEntriesToArray<TKey, TValue>(map: Map<TKey, TValue>): [TKey, TValue][]; //# sourceMappingURL=map-entries-to-array.d.ts.map