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

Function notecheck

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

Source from the content-addressed store, hash-verified

923 var NoteK = ["//", "#", ";"]; //排除注释项
924 for (var i = 0; i < subs.length; i++) {
925 const notecheck = (item) => subs[i].indexOf(item) == 0
926 if (!NoteK.some(notecheck)) {
927 if (subs[i].slice(0, 9) == "URL-REGEX") { // regex 类型
928 if (subs[i].indexOf("REJECT") != -1 || subs[i].split(",").length == 2 ) { // 仅处理 reject 类型,或者无指定策略类型

Callers

nothing calls this directly

Calls 1

indexOfMethod · 0.45

Tested by

no test coverage detected