MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub / isJsCon

Function isJsCon

Rewrite-Parser.js:2355–2364  ·  view source on GitHub ↗
(x, arr)

Source from the content-addressed store, hash-verified

2353}
2354
2355function isJsCon(x, arr) {
2356 if (arr != null) {
2357 for (let i = 0; i < arr.length; i++) {
2358 const elem = arr[i].trim()
2359 if (x.indexOf(elem) != -1) {
2360 return true
2361 }
2362 } //循环结束
2363 } //if (arr != null)
2364} //isJsCon结束
2365
2366function toJsc(jsurl, jscStatus, jsc2Status, jsfrom) {
2367 if (jscStatus == true || jsc2Status == true) {

Callers 1

Rewrite-Parser.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected