MCPcopy
hub / github.com/witheve/Eve / inArray

Function inArray

src/codemirror.js:9713–9720  ·  view source on GitHub ↗
(val, arr)

Source from the content-addressed store, hash-verified

9711 return (/^\s*$/).test(k);
9712 }
9713 function inArray(val, arr) {
9714 for (var i = 0; i < arr.length; i++) {
9715 if (arr[i] == val) {
9716 return true;
9717 }
9718 }
9719 return false;
9720 }
9721
9722 var options = {};
9723 function defineOption(name, defaultValue, type, aliases, callback) {

Callers 3

VimFunction · 0.85
updateMarkFunction · 0.85
isInRangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected