MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / contains

Method contains

benchmark/data.js:43–45  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

41 return chunk;
42 }
43 contains(index) {
44 return this.start < index && index < this.end;
45 }
46 eachNext(fn) {
47 let chunk = this;
48 while (chunk) {

Callers 1

_splitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected