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

Function requiredDaemonString

src/commands/cli-grammar/common.ts:235–240  ·  view source on GitHub ↗
(value: unknown, message: string)

Source from the content-addressed store, hash-verified

233}
234
235export function requiredDaemonString(value: unknown, message: string): string {
236 if (typeof value !== 'string' || value.length === 0) {
237 throw new AppError('INVALID_ARGS', message);
238 }
239 return value;
240}

Callers 10

diff.tsFile · 0.90
replayDaemonWriterFunction · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
installPositionalsFunction · 0.90
requiredPairFunction · 0.90
prepare.tsFile · 0.90
gesturePositionalsFunction · 0.90
swipePresetPositionalsFunction · 0.90
interactions.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected