Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
93
function
formatForQuery(value) {
94
if
(typeof value ===
'boolean'
) {
95
return
value ?
'1'
:
'0'
;
96
}
97
return
String(value);
98
}
99
100
function
updateQueryString(state) {
101
if
(!hasLocation() || !hasHistory())
return
;
Callers
1
updateQueryString
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected