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

Function parseCliThreshold

src/cli/commands/screenshot.ts:126–129  ·  view source on GitHub ↗
(threshold: string | undefined)

Source from the content-addressed store, hash-verified

124}
125
126function parseCliThreshold(threshold: string | undefined): number | undefined {
127 if (threshold == null || threshold === '') return undefined;
128 return Number(threshold);
129}

Callers 1

diffCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected