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

Function isRecord

src/utils/parsing.ts:142–144  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

140}
141
142export function isRecord(value: unknown): value is Record<string, unknown> {
143 return value !== null && typeof value === 'object' && !Array.isArray(value);
144}
145
146export function stripUndefined<T extends Record<string, unknown>>(value: T): T {
147 const output = {} as T;

Callers 15

readBatchStepRecordFunction · 0.90
readBatchStepInputObjectFunction · 0.90
readSnapshotTimingStatsFunction · 0.90
readObjectFunction · 0.90
normalizeLeaseFunction · 0.90
normalizeRuntimeHintsFunction · 0.90
normalizeStartupSampleFunction · 0.90
readScreenshotResultDataFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected