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

Function rw_reject

Rewrite-Parser.beta.js:2437–2446  ·  view source on GitHub ↗
(x, mark)

Source from the content-addressed store, hash-verified

2435
2436//reject
2437function rw_reject(x, mark) {
2438 let noteK = isNoteK(x)
2439 let rwptn = x
2440 .replace(/^#/, '')
2441 .split(/\s+/)[0]
2442 .replace(/^"(.+)"$/, '$1')
2443 let rwtype = x.match(/reject(-\w+)?$/i)[0].toLowerCase()
2444
2445 rwBox.push({ mark, noteK, rwptn, rwvalue: '-', rwtype })
2446}
2447
2448//重定向
2449function rw_redirect(x, mark) {

Callers 1

Calls 1

isNoteKFunction · 0.70

Tested by

no test coverage detected