platform-bible-utils
    Preparing search index...

    Function getTemplateVarNames

    • Experimental

      Returns the names of all template variables (e.g. webViewId for {webViewId}) used in a when-expression. Used by contribution validation to reject unknown placeholders at load time.

      Parameters

      • expression: string

        The when-expression to inspect

      Returns string[]

      Array of unique template variable names

      Error if the expression is not valid This function is unstable and may change or disappear without notice