Skip to content

getObservedBlockShape()

PromptScript API


getObservedBlockShape(block): "object" | "text" | "array" | "mixed"

Defined in: core/src/block-shapes.ts:154

Return the observed shape from canonical or compatibility AST input.

Parameters

block

BlockInput

Returns

"object" | "text" | "array" | "mixed"