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

Function inArray

lib/web/CodeMirror/keymap/vim.js:444–451  ·  view source on GitHub ↗
(val, arr)

Source from the content-addressed store, hash-verified

442 return '.?!'.indexOf(k) != -1;
443 }
444 function inArray(val, arr) {
445 for (var i = 0; i < arr.length; i++) {
446 if (arr[i] == val) {
447 return true;
448 }
449 }
450 return false;
451 }
452
453 var options = {};
454 function defineOption(name, defaultValue, type, aliases, callback) {

Callers 3

VimFunction · 0.70
updateMarkFunction · 0.70
isInRangeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected