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

Function isNumericToken

src/replay/script.ts:388–391  ·  view source on GitHub ↗
(token: string | undefined)

Source from the content-addressed store, hash-verified

386}
387
388function isNumericToken(token: string | undefined): token is string {
389 if (!token) return false;
390 return !Number.isNaN(Number(token));
391}
392
393function tokenizeReplayLine(line: string): string[] {
394 const tokens: string[] = [];

Callers 1

parseReplayScriptLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected