Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Script-Hub-Org/Script-Hub
/ istrue
Function
istrue
Rewrite-Parser.js:2347–2353 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
2345
}
//获取Mock参数
2346
2347
function
istrue(str) {
2348
if
(str == true || str == 1 || str ==
'true'
|| str ==
'1'
) {
2349
return
true
2350
}
else
{
2351
return
false
2352
}
2353
}
2354
2355
function
isJsCon(x, arr) {
2356
if
(arr != null) {
Callers
1
Rewrite-Parser.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected