1
0
Fork 0
js-utils/docs/api/js-utils.normalizemap.md

800 B

Home > @apextoaster/js-utils > normalizeMap

normalizeMap() function

Warning: This API is now obsolete.

the conversion behavior here was not reliable, better to provide your own T -> string mapper

Normalize a map-like of values into a dict of lists of strings.

Signature:

export declare function normalizeMap(map: MapLike<unknown>): Dict<Array<string>>;

Parameters

Parameter Type Description
map MapLike<unknown>

Returns:

Dict<Array<string>>