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

Function normalizeBoolean

src/snapshot-tests/json-normalize.ts:93–99  ·  view source on GitHub ↗
(path: string[], key: string | undefined, value: boolean)

Source from the content-addressed store, hash-verified

91}
92
93function normalizeBoolean(path: string[], key: string | undefined, value: boolean): boolean {
94 if (key === 'isAvailable' && isDeviceListPath(path)) {
95 return true;
96 }
97
98 return value;
99}
100
101function normalizeNumber(path: string[], key: string | undefined, value: number): number {
102 if (

Callers 1

normalizeValueFunction · 0.85

Calls 1

isDeviceListPathFunction · 0.85

Tested by

no test coverage detected