MCPcopy Create free account
hub / github.com/Moli-X/Resources / exclude

Function exclude

Script/Parser.js:1199–1199  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

1197 cc = cnt[i].replace(/^\s*\-\s/g,"").replace(/\"|\'/g,"").trim()
1198 //$notify("out ing", Tout, cc)
1199 const exclude = (item) => cc.indexOf(item) != -1; // 删除项
1200 const RuleCheck = (item) => cc.toLowerCase().indexOf(item) != -1; //规则检查
1201 const CommentCheck = (item) => cc.toLowerCase().indexOf(item) == 0; //无视注释行
1202 if (Tout.some(exclude) && !RuleK.some(CommentCheck) ) {

Callers

nothing calls this directly

Calls 1

indexOfMethod · 0.45

Tested by

no test coverage detected