Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dethcrypto/dethcode
/ saysTrue
Function
saysTrue
packages/vscode-host/scripts/argv.js:8–12 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
6
};
7
8
function
saysTrue(value) {
9
if
(typeof value ===
"string"
) value = value.toLowerCase();
10
11
return
[1, true,
"1"
,
"true"
,
"yes"
].includes(value);
12
}
13
14
/**
15
* @param {string} name
Callers
1
argv.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected