Skip to content

AIDK API Reference / aidk/content / isTextBlock

Function: isTextBlock() ​

ts
function isTextBlock(block: ContentBlock): block is TextBlock;

Defined in: packages/shared/src/blocks.ts:421

Parameters ​

ParameterType
blockContentBlock

Returns ​

block is TextBlock

Released under the MIT License.