openmixer — generated API reference
    Preparing search index...

    Function templateLiteralCount

    • How many of a template's segments are literal — the specificity a tie-break is decided on.

      Parameters

      • template: string

      Returns number