Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denoland/std
/ isBooleanString
Function
isBooleanString
cli/parse_args.ts:496–498 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
494
}
495
496
function
isBooleanString(value: string) {
497
return
value ===
"true"
|| value ===
"false"
;
498
}
499
500
function
parseBooleanString(value: unknown) {
501
return
value !==
"false"
;
Callers
1
parseArgs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected