MCPcopy Create free account
hub / github.com/bestony/logoly / formatForQuery

Function formatForQuery

src/utils/persistentState.js:93–98  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

91}
92
93function formatForQuery(value) {
94 if (typeof value === 'boolean') {
95 return value ? '1' : '0';
96 }
97 return String(value);
98}
99
100function updateQueryString(state) {
101 if (!hasLocation() || !hasHistory()) return;

Callers 1

updateQueryStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected