MCPcopy Create free account
hub / github.com/microsoft/Webwright / parseArguments

Function parseArguments

assets/compare_trajectory/app.js:65–74  ·  view source on GitHub ↗
(raw)

Source from the content-addressed store, hash-verified

63}
64
65function parseArguments(raw) {
66 if (!raw) {
67 return {};
68 }
69 if (typeof raw === 'object') {
70 return raw;
71 }
72 const parsed = safeJsonParse(raw);
73 return parsed && typeof parsed === 'object' ? parsed : {};
74}
75
76function primaryCommand(raw) {
77 const input = String(raw || '').trim();

Callers 1

normalizeCodexFunction · 0.85

Calls 1

safeJsonParseFunction · 0.85

Tested by

no test coverage detected