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

Function lastWhere

test/fixtures/snapshot/typescript.js:156222–156231  ·  view source on GitHub ↗
(a, pred)

Source from the content-addressed store, hash-verified

156220 }
156221 }
156222 function lastWhere(a, pred) {
156223 var last;
156224 for (var _i = 0, a_1 = a; _i < a_1.length; _i++) {
156225 var value = a_1[_i];
156226 if (!pred(value))
156227 break;
156228 last = value;
156229 }
156230 return last;
156231 }
156232 })(codefix = ts.codefix || (ts.codefix = {}));
156233})(ts || (ts = {}));
156234/* @internal */

Callers 1

doChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected