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

Function formatScriptArg

src/replay/script-utils.ts:35–37  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

33}
34
35export function formatScriptArg(value: string): string {
36 return formatScriptToken(value, isStructuralScriptToken);
37}
38
39// Use for literal values such as device labels where leading/trailing whitespace must survive round-trips.
40export function formatScriptStringLiteral(value: string): string {

Callers 10

formatFillActionLineFunction · 0.90
formatGetActionLineFunction · 0.90
appendRefLabelFunction · 0.90

Calls 1

formatScriptTokenFunction · 0.85

Tested by

no test coverage detected