MCPcopy Create free account
hub / github.com/immutable-js/immutable-js / get

Method get

src/Map.js:478–481  ·  view source on GitHub ↗
(shift, keyHash, key, notSetValue)

Source from the content-addressed store, hash-verified

476 }
477
478 get(shift, keyHash, key, notSetValue) {
479 const idx = this._positionOf(key, true);
480 return idx === -1 ? notSetValue : this.entries[idx][1];
481 }
482
483 update(ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {
484 if (keyHash === undefined) {

Callers

nothing calls this directly

Calls 1

_positionOfMethod · 0.95

Tested by

no test coverage detected