MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / isRecord

Function isRecord

src/utils/sentry.ts:47–49  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

45 return value.replace(USER_HOME_PATH_PATTERN, '/Users/<redacted>');
46}
47function isRecord(value: unknown): value is Record<string, unknown> {
48 return typeof value === 'object' && value !== null && !Array.isArray(value);
49}
50function redactUnknown(value: unknown): unknown {
51 if (typeof value === 'string') {
52 return redactPathLikeData(value);

Callers 1

redactUnknownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected