fn
replaceInline
testedReplace the character range `[from, to)` with inline `content`.
Signature
ts
export function replaceInline(inline: Inline, from: number, to: number, content: Inline): Inline{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
inline | Inline | — |
from | number | — |
to | number | — |
content | Inline | — |
Returns
Inline