R
fn

replaceInline

tested

Replace the character range `[from, to)` with inline `content`.

Signature

ts
export function replaceInline(inline: Inline, from: number, to: number, content: Inline): Inline{ ... }

Parameters

ParameterTypeDescription
inlineInline
fromnumber
tonumber
contentInline

Returns

Inline