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

Function in_array

static/editor.md/lib/codemirror/mode/julia/julia.js:39–47  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

37 var indentInfo = null;
38
39 function in_array(state) {
40 var ch = cur_scope(state);
41 if(ch=="[" || ch=="{") {
42 return true;
43 }
44 else {
45 return false;
46 }
47 }
48
49 function cur_scope(state) {
50 if(state.scopes.length==0) {

Callers 1

tokenBaseFunction · 0.85

Calls 1

cur_scopeFunction · 0.85

Tested by

no test coverage detected