MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / isDebugStackFrameRecord

Function isDebugStackFrameRecord

src/snapshot-tests/json-normalize.ts:195–204  ·  view source on GitHub ↗
(
  value: unknown,
)

Source from the content-addressed store, hash-verified

193}
194
195function isDebugStackFrameRecord(
196 value: unknown,
197): value is { index: number; symbol: string; displayLocation: string } {
198 return (
199 isRecord(value) &&
200 typeof value.index === 'number' &&
201 typeof value.symbol === 'string' &&
202 typeof value.displayLocation === 'string'
203 );
204}
205
206function normalizeDebugStackFrames(items: unknown[]): unknown[] {
207 if (!items.every(isDebugStackFrameRecord)) {

Callers

nothing calls this directly

Calls 1

isRecordFunction · 0.70

Tested by

no test coverage detected