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

Function hasOwnProperty

src/utils/config-store.ts:101–107  ·  view source on GitHub ↗
(
  obj: T | undefined,
  key: K,
)

Source from the content-addressed store, hash-verified

99};
100
101function hasOwnProperty<T extends object, K extends PropertyKey>(
102 obj: T | undefined,
103 key: K,
104): obj is T & Record<K, unknown> {
105 if (!obj) return false;
106 return Object.prototype.hasOwnProperty.call(obj, key);
107}
108
109function parseBoolean(value: string | undefined): boolean | undefined {
110 if (!value) return undefined;

Callers 2

resolveFromLayersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected