@threadplane/coreFunctionv0.3.7

contentBlocksText

The text of a block list: its text blocks joined in order, and nothing else.

import { contentBlocksText } from '@threadplane/core';

Declaration · overload 1

export declare function contentBlocksText(blocks: readonly ContentBlock[]): string;

Parameters

blocks · required
readonly ContentBlock[]

Returns

string