MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / inRangeInclusive

Function inRangeInclusive

static/js/codemirror/keymap/vim.js:307–309  ·  view source on GitHub ↗
(x, start, end)

Source from the content-addressed store, hash-verified

305 return (/^\s*$/).test(k);
306 }
307 function inRangeInclusive(x, start, end) {
308 return x >= start && x <= end;
309 }
310 function inArray(val, arr) {
311 for (var i = 0; i < arr.length; i++) {
312 if (arr[i] == val) {

Callers 1

moveToWordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected