MCPcopy Index your code
hub / github.com/callstack/agent-device / parseIntegerEnv

Function parseIntegerEnv

src/daemon/server/server-lifecycle.ts:112–117  ·  view source on GitHub ↗
(raw: string | undefined)

Source from the content-addressed store, hash-verified

110}
111
112export function parseIntegerEnv(raw: string | undefined): number | undefined {
113 if (raw === undefined) return undefined;
114 const value = Number(raw);
115 if (!Number.isInteger(value)) return undefined;
116 return value;
117}

Callers 2

startDaemonRuntimeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…