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

Function isJsCon

Rewrite-Parser.beta.js:2759–2768  ·  view source on GitHub ↗
(x, arr)

Source from the content-addressed store, hash-verified

2757}
2758
2759function isJsCon(x, arr) {
2760 if (arr != null) {
2761 for (let i = 0; i < arr.length; i++) {
2762 const elem = arr[i].trim()
2763 if (x.indexOf(elem) != -1) {
2764 return true
2765 }
2766 } //循环结束
2767 } //if (arr != null)
2768} //isJsCon结束
2769
2770function toJsc(jsurl, jscStatus, jsc2Status, jsfrom) {
2771 if (jscStatus == true || jsc2Status == true) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected