Skip to content

Documentation / @ripl/core / interpolateString

Function: interpolateString() ​

interpolateString(callback, formatter?): Interpolator<string>

Defined in: packages/core/src/interpolators/string.ts:30

Creates a string interpolator by interpolating between numeric values embedded in tagged template literals.

Parameters ​

ParameterType
callback(tag) => StringInterpolationSet
formatter?StringInterpolationFormatter

Returns ​

Interpolator<string>