MCPcopy Create free account
hub / github.com/TruthHun/BookStack / inList

Function inList

static/editor.md/lib/codemirror/mode/javascript/javascript.js:272–276  ·  view source on GitHub ↗
(list)

Source from the content-addressed store, hash-verified

270 }
271 function register(varname) {
272 function inList(list) {
273 for (var v = list; v; v = v.next)
274 if (v.name == varname) return true;
275 return false;
276 }
277 var state = cx.state;
278 if (state.context) {
279 cx.marked = "def";

Callers 1

registerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected