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

Method get

src/Range.js:53–57  ·  view source on GitHub ↗
(index, notSetValue)

Source from the content-addressed store, hash-verified

51 }
52
53 get(index, notSetValue) {
54 return this.has(index)
55 ? this._start + wrapIndex(this, index) * this._step
56 : notSetValue;
57 }
58
59 includes(searchValue) {
60 const possibleIndex = (searchValue - this._start) / this._step;

Callers 1

sliceMethod · 0.95

Calls 2

wrapIndexFunction · 0.90
hasMethod · 0.65

Tested by

no test coverage detected