The type of the interpolations.
The strings from the template to process.
An array of all interpolations from the template.
A tuple where the first item is the strings from the template, and the remaining items are the interpolations.
The return of this function may also be spread into any other tagged template function in the following way:
import { interpolate } from "@alextheman/utility"; // Example function
const packageName = "@alextheman/utility";
const packageManager = getPackageManager(packageName);
interpolate(...getStringsAndInterpolations`The package ${packageName} uses the ${packageManager} package manager.`);
Gets the strings and interpolations separately from a template string. You can pass a template string directly by doing: