Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/KOP-XIAO/QuantumultX
/ getValue
Function
getValue
Scripts/resource-parser.js:767–773 ·
view source on GitHub ↗
(fn, defaultVaule)
Source
from the content-addressed store, hash-verified
765
766
//避免json undefined错误的 函数
767
const
getValue = (fn, defaultVaule) => {
768
try {
769
return
fn();
770
} catch (error) {
771
return
defaultVaule;
772
}
773
};
774
775
var
type0=
""
776
//flag=1,2,3分别为 server、rewrite、rule 类型
Callers
2
CV2QX
Function · 0.85
CVL2QX
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected