MCPcopy Create free account
hub / github.com/denoland/std / slice

Method slice

toml/_parser.ts:74–76  ·  view source on GitHub ↗

* Get sliced string * @param start - start position relative from current position * @param end - end position relative from current position

(start: number, end: number)

Source from the content-addressed store, hash-verified

72 * @param end - end position relative from current position
73 */
74 slice(start: number, end: number): string {
75 return this.#source.slice(this.#position + start, this.#position + end);
76 }
77
78 /**
79 * Move position to next

Callers 15

equals_test.tsFile · 0.45
buildErrorMessageFunction · 0.45
_pcg32_test.tsFile · 0.45
numberToArrayFunction · 0.45
transformMethod · 0.45
encodeBase58Function · 0.45
decodeBase58Function · 0.45
encodeBase64Function · 0.45
encodeAscii85Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected