contentBlocksText

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

import { contentBlocksText } from '@threadplane/angular/chat';

Declaration · overload 1

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

Parameters

blocks · required
readonly ContentBlock[]

Returns

string