MCPcopy Create free account
hub / github.com/bvaughn/react-window / replacer

Function replacer

integrations/tests/src/components/DebugData.tsx:16–22  ·  view source on GitHub ↗
(_key: string, value: unknown)

Source from the content-addressed store, hash-verified

14}
15
16function replacer(_key: string, value: unknown) {
17 if (typeof value === "number") {
18 return Math.round(value);
19 }
20
21 return value;
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected