MCPcopy
hub / github.com/ChromeDevTools/chrome-devtools-mcp / geolocationTransform

Function geolocationTransform

src/tools/ToolDefinition.ts:453–462  ·  view source on GitHub ↗
(arg: string | undefined)

Source from the content-addressed store, hash-verified

451}
452
453export function geolocationTransform(arg: string | undefined) {
454 if (!arg) {
455 return undefined;
456 }
457 const [latitude, longitude] = arg.split(',').map(Number) as [number, number];
458 return {
459 latitude,
460 longitude,
461 };
462}

Callers 1

emulation.test.tsFile · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…