mapValues() — typescript-sdk Function Reference
Architecture documentation for the mapValues() function in runtime.ts from the typescript-sdk codebase.
Entity Profile
Relationship Graph
Source Code
src/runtime.ts lines 340–345
export function mapValues(data: any, fn: (item: any) => any) {
return Object.keys(data).reduce(
(acc, key) => ({ ...acc, [key]: fn(data[key]) }),
{}
);
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free