MCPcopy Create free account
hub / github.com/Forward-Future/loopy / optionalValue

Function optionalValue

loop-library/site/script.js:1063–1066  ·  view source on GitHub ↗
(formData, name)

Source from the content-addressed store, hash-verified

1061 }
1062
1063 weeklyStatus.textContent = message;
1064 weeklyStatus.classList.toggle("is-success", kind === "success");
1065 weeklyStatus.classList.toggle("is-error", kind === "error");
1066}
1067
1068function optionalValue(formData, name) {
1069 const value = String(formData.get(name) || "").trim();

Callers 1

script.jsFile · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected