MCPcopy
hub / github.com/codeaashu/claude-code / forEachByKey

Method forEachByKey

src/server/web/public/terminal.js:3607–3611  ·  view source on GitHub ↗
(e3, t3)

Source from the content-addressed store, hash-verified

3605 } while (++i2 < this._array.length && this._getKey(this._array[i2]) === e3);
3606 }
3607 forEachByKey(e3, t3) {
3608 if (0 !== this._array.length && (i2 = this._search(e3), !(i2 < 0 || i2 >= this._array.length) && this._getKey(this._array[i2]) === e3)) do {
3609 t3(this._array[i2]);
3610 } while (++i2 < this._array.length && this._getKey(this._array[i2]) === e3);
3611 }
3612 values() {
3613 return [...this._array].values();
3614 }

Callers 1

Calls 2

t3Function · 0.85
_searchMethod · 0.80

Tested by

no test coverage detected