@alextheman/utility - v4.3.5
    Preparing search index...

    Function getInterpolations

    • Gets the strings and interpolations separately from a template string. You can pass a template string directly by doing:

      getInterpolations`Template string here`.
      

      Parameters

      • strings: TemplateStringsArray

        The strings from the template to process.

      • ...interpolations: unknown[]

        An array of all interpolations from the template.

      Returns [TemplateStringsArray, unknown[]]

      A tuple where the first item is the strings from the template, and the second is the interpolations.