MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / inList

Function inList

lib/web/CodeMirror/mode/javascript/javascript.js:272–275  ·  view source on GitHub ↗
(name, list)

Source from the content-addressed store, hash-verified

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

Callers 2

registerFunction · 0.70
registerVarScopedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected