Member Junction
    Preparing search index...

    Function ExtractWholeTemplateExpression

    • If s (ignoring outer whitespace) consists of a single {{ expression }} placeholder with no nested braces, returns the trimmed inner expression in O(n) time; otherwise null.

      Parameters

      • s: string

      Returns string