MCPcopy Create free account
hub / github.com/observablehq/framework / insertRight

Method insertRight

src/sourcemap.ts:54–56  ·  view source on GitHub ↗
(index: number, value: string)

Source from the content-addressed store, hash-verified

52 return this.replaceLeft(index, index, value);
53 }
54 insertRight(index: number, value: string): typeof this {
55 return this.replaceRight(index, index, value);
56 }
57 delete(start: number, end: number): typeof this {
58 return this.replaceRight(start, end, "");
59 }

Callers 5

transpileTagFunction · 0.95
sourcemap-test.tsFile · 0.80
escapeBacktickFunction · 0.80
escapeBackslashFunction · 0.80
transpileJavaScriptFunction · 0.80

Calls 1

replaceRightMethod · 0.95

Tested by

no test coverage detected