fn
addMarkInline
testedAdd `mark` across `[from, to)`, replacing any existing mark of the same type.
Signature
ts
export function addMarkInline(inline: Inline, from: number, to: number, mark: Mark): Inline{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
inline | Inline | — |
from | number | — |
to | number | — |
mark | Mark | — |
Returns
Inline