MCPcopy Index your code
hub / github.com/callstack/agent-device / readSnapshotTimingStats

Function readSnapshotTimingStats

src/snapshot-diagnostics.ts:131–139  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

129}
130
131function readSnapshotTimingStats(value: unknown): SnapshotTimingStats | undefined {
132 if (!isRecord(value)) return undefined;
133 const required = readRequiredSnapshotTimingStats(value);
134 if (!required) return undefined;
135 return {
136 ...required,
137 ...readOptionalSnapshotTimingStats(value),
138 };
139}
140
141function readRequiredSnapshotTimingStats(
142 record: Record<string, unknown>,

Callers 1

Calls 3

isRecordFunction · 0.90

Tested by

no test coverage detected