Skip to content

PromptScript API


Function: getMinimumVersionForFeature()

getMinimumVersionForFeature(feature): string | undefined

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

Get the minimum syntax version that supports a non-block feature.

Parameters

feature

"regular-block-replace"

Returns

string | undefined

Version string, or undefined if the feature is not registered