MCPcopy
hub / github.com/immutable-js/immutable-js / get

Method get

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

Source from the content-addressed store, hash-verified

184 }
185
186 get(shift, keyHash, key, notSetValue) {
187 const entries = this.entries;
188 for (let ii = 0, len = entries.length; ii < len; ii++) {
189 if (is(key, entries[ii][0])) {
190 return entries[ii][1];
191 }
192 }
193 return notSetValue;
194 }
195
196 update(ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {
197 const removed = value === NOT_SET;

Callers

nothing calls this directly

Calls 1

isFunction · 0.90

Tested by

no test coverage detected