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 355 B
/** * @public * Like `Array.map` but with a `Map` input. Outputs an `Array`. * * @returns An array of mapped values. * * @remarks * See {@link mapArrayMap}. */ export declare function mapArrayMap<TKey, TValue, TMapped>(map: Map<TKey, TValue>, callback: (value: TValue, key: TKey) => TMapped): TMapped[]; //# sourceMappingURL=map-array-map.d.ts.map