Skip to content

getFeaturesForVersion()

PromptScript API


getFeaturesForVersion(version): readonly SyntaxFeature[] | undefined

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

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

Parameters

version

string

Returns

readonly SyntaxFeature[] | undefined

Feature list, or undefined if version is unknown