Skip to content

Documentation / @agentick/shared / isContentBlock

Function: isContentBlock() ​

isContentBlock(value): value is ContentBlock

Defined in: input.ts:74

Check if value is a ContentBlock. Validates that type is a known block type, not just any object with a type property.

Parameters ​

value ​

unknown

Returns ​

value is ContentBlock

Released under the ISC License.