Home > dict-utils > dictMap
Signature:
export declare function dictMap<T, S>(from: Dict<T>, transform: (val: T, key: string | number, from: Dict<T>) => S): Dict<S>;
| Parameter | Type | Description |
|---|---|---|
| from | Dict<T> |
|
| transform | (val: T, key: string | number, from: Dict<T>) => S |
Returns:
Dict<S>