Skip to content

PromptScript API


Function: getFeaturesForVersion()

getFeaturesForVersion(version): readonly "regular-block-replace"[] | undefined

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

Get the list of non-block syntax features for a known syntax version.

Parameters

version

string

Returns

readonly "regular-block-replace"[] | undefined

Feature list, or undefined if version is unknown