MCPcopy Create free account
hub / github.com/Thanas-R/Virdis / normalizeLocation

Function normalizeLocation

src/components/CropPlanningSection.tsx:1137–1139  ·  view source on GitHub ↗
(location: string)

Source from the content-addressed store, hash-verified

1135 const gap = value - max;
1136 return clamp(1 - gap / Math.max(1, tolerance || max), 0, 1);
1137}
1138
1139function normalizeLocation(location: string) {
1140 return location.toLowerCase();
1141}
1142

Callers 1

buildPlanningSignalsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected