flatText
function flatText(spans): string;Defined in: helpers.ts:38
Flattened plain text of a block’s spans.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
spans | readonly TextSpan[] |
Returns
Section titled “Returns”string
function flatText(spans): string;Defined in: helpers.ts:38
Flattened plain text of a block’s spans.
| Parameter | Type |
|---|---|
spans | readonly TextSpan[] |
string