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

Method indexOf

src/Repeat.js:59–64  ·  view source on GitHub ↗
(searchValue)

Source from the content-addressed store, hash-verified

57 }
58
59 indexOf(searchValue) {
60 if (this.size !== 0 && is(this._value, searchValue)) {
61 return 0;
62 }
63 return -1;
64 }
65
66 lastIndexOf(searchValue) {
67 if (this.size !== 0 && is(this._value, searchValue)) {

Callers

nothing calls this directly

Calls 1

isFunction · 0.90

Tested by

no test coverage detected