Documentation / @ripl/core / interpolateString
Function: interpolateString()
interpolateString(
callback,formatter?):Interpolator<string>
Defined in: packages/core/src/interpolators/string.ts:32
Creates a string interpolator by interpolating between numeric values embedded in tagged template literals.
Parameters
| Parameter | Type |
|---|---|
callback | (tag) => StringInterpolationSet |
formatter? | StringInterpolationFormatter |
Returns
Interpolator<string>