MCPcopy Create free account
hub / github.com/Inist-CNRS/node-csv-string / Residue

Method Residue

src/Parser.ts:192–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190 }
191
192 private Residue(): Residue {
193 let value = '';
194 const index = this.input.slice(this.pointer).search(this._residueRegExp);
195 if (index === -1) {
196 value = this.input.slice(this.pointer);
197 } else if (index === 0) {
198 return '';
199 } else {
200 value = this.input.slice(this.pointer, this.pointer + index);
201 }
202 this.pointer += value.length;
203 return value;
204 }
205}

Callers 1

ValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected