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

    Function interpolateObjects

    • Returns the result of interpolating a template string, also stringifying objects.

      You can pass a template string directly by doing:

      interpolateObjects`Template string here ${{ my: "object" }}`.
      

      Parameters

      • strings: TemplateStringsArray

        The strings from the template to process.

      • ...interpolations: unknown[]

        An array of all interpolations from the template.

      Returns string

      A new string with the strings and interpolations from the template applied, with objects stringified.