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

Function imported

static/editor.md/lib/codemirror/mode/haxe/haxe.js:185–192  ·  view source on GitHub ↗
(state, typename)

Source from the content-addressed store, hash-verified

183 }
184
185 function imported(state, typename)
186 {
187 if (/[a-z]/.test(typename.charAt(0)))
188 return false;
189 var len = state.importedtypes.length;
190 for (var i = 0; i<len; i++)
191 if(state.importedtypes[i]==typename) return true;
192 }
193
194
195 function registerimport(importname) {

Callers 1

parseHaxeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected