Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denoland/std
/ serializeBoolean
Function
serializeBoolean
http/unstable_structured_fields.ts:1362–1364 ·
view source on GitHub ↗
(value: boolean)
Source
from the content-addressed store, hash-verified
1360
}
1361
1362
function
serializeBoolean(value: boolean): string {
1363
return
value ?
"?1"
:
"?0"
;
1364
}
1365
1366
function
serializeDate(value: Date): string {
1367
const
timestamp = Math.floor(value.getTime() / 1000);
Callers
1
serializeBareItem
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected