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

Function hasConcreteSessionDefaultValue

src/utils/session-default-args.ts:5–15  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

3export type ExclusiveParameterGroup = readonly string[];
4
5export function hasConcreteSessionDefaultValue(value: unknown): boolean {
6 if (value === null || value === undefined) {
7 return false;
8 }
9
10 if (typeof value === 'string') {
11 return value.trim().length > 0;
12 }
13
14 return true;
15}
16
17export function pickSessionDefaultsForKeys(
18 keys: Iterable<string>,

Callers 2

mergeSessionDefaultArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected