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

Function isHelpFlag

src/bin.ts:107–109  ·  view source on GitHub ↗
(arg: string | undefined)

Source from the content-addressed store, hash-verified

105}
106
107function isHelpFlag(arg: string | undefined): boolean {
108 return arg === '--help' || arg === '-h';
109}
110
111function isVersionFlag(arg: string | undefined): boolean {
112 return arg === '--version' || arg === '-V';

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected