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

Function isNegativeNumericToken

src/cli/parser/args.ts:316–318  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

314}
315
316function isNegativeNumericToken(value: string): boolean {
317 return /^-\d+(\.\d+)?$/.test(value);
318}
319
320function normalizeParsedCommandAliases(parsed: ParsedArgs): ParsedArgs {
321 if (parsed.flags.help) {

Calls

no outgoing calls

Tested by

no test coverage detected