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

Function rw_reject

Rewrite-Parser.js:2034–2043  ·  view source on GitHub ↗
(x, mark)

Source from the content-addressed store, hash-verified

2032
2033//reject
2034function rw_reject(x, mark) {
2035 let noteK = isNoteK(x)
2036 let rwptn = x
2037 .replace(/^#/, '')
2038 .split(/\s+/)[0]
2039 .replace(/^"(.+)"$/, '$1')
2040 let rwtype = x.match(/reject(-\w+)?$/i)[0].toLowerCase()
2041
2042 rwBox.push({ mark, noteK, rwptn, rwvalue: '-', rwtype })
2043}
2044
2045//重定向
2046function rw_redirect(x, mark) {

Callers 1

Rewrite-Parser.jsFile · 0.70

Calls 1

isNoteKFunction · 0.70

Tested by

no test coverage detected