Skip to content

PromptScript API


Function: getMinimumVersionForBlock()

getMinimumVersionForBlock(blockName): string | undefined

Defined in: core/src/syntax-versions.ts:99

Get the minimum syntax version that supports a given block type.

Parameters

blockName

string

Returns

string | undefined

Version string, or undefined if the block is not in any known version