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

Function hasValue

src/utils/project-config.ts:93–95  ·  view source on GitHub ↗
(defaults: T, key: keyof T)

Source from the content-addressed store, hash-verified

91}
92
93function hasValue<T extends Record<string, unknown>>(defaults: T, key: keyof T): boolean {
94 return Object.prototype.hasOwnProperty.call(defaults, key) && defaults[key] !== undefined;
95}
96
97function normalizeMutualExclusivity(defaults: Partial<SessionDefaults>): {
98 normalized: Partial<SessionDefaults>;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected