Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/SimDeck
/ booleanArg
Function
booleanArg
scripts/stress/simdeck.mjs:278–284 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
276
}
277
278
function
booleanArg(value) {
279
return
[
"1"
,
"true"
,
"yes"
,
"on"
].includes(
280
String(value ??
""
)
281
.trim()
282
.toLowerCase(),
283
);
284
}
Callers
1
simdeck.mjs
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected