MCPcopy Index your code
hub / github.com/nodejs/node / everyInRange

Function everyInRange

test/fixtures/snapshot/typescript.js:142838–142845  ·  view source on GitHub ↗
(start, end, pred)

Source from the content-addressed store, hash-verified

142836 return currentIsUpper && (!word || !lastIsUpper);
142837 }
142838 function everyInRange(start, end, pred) {
142839 for (var i = start; i < end; i++) {
142840 if (!pred(i)) {
142841 return false;
142842 }
142843 }
142844 return true;
142845 }
142846 function every(s, pred, start, end) {
142847 if (start === void 0) { start = 0; }
142848 if (end === void 0) { end = s.length; }

Callers 2

partStartsWithFunction · 0.85
everyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…