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

Function indexOf

static/editor.md/lib/codemirror/addon/mode/simple.js:183–185  ·  view source on GitHub ↗
(val, arr)

Source from the content-addressed store, hash-verified

181 }
182
183 function indexOf(val, arr) {
184 for (var i = 0; i < arr.length; i++) if (arr[i] === val) return true;
185 }
186
187 function indentFunction(states, meta) {
188 return function(state, textAfter, line) {

Callers 1

indentFunctionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected