MCPcopy
hub / github.com/darkreader/darkreader / getLocationString

Function getLocationString

src/ui/options/automation/automation-tab.tsx:26–32  ·  view source on GitHub ↗
(location: number)

Source from the content-addressed store, hash-verified

24 };
25
26 function getLocationString(location: number) {
27 if (location == null) {
28 return '';
29 }
30
31 return `${location}°`;
32 }
33
34 function locationChanged(inputElement: HTMLInputElement, newValue: string, type: 'latitude' | 'longitude') {
35 if (newValue.trim() === '') {

Callers 2

locationChangedFunction · 0.70
AutomationTabFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected