interpolate
interpolate(
text,vars):string
Defined in: packages/template/src/interpolator.ts:8
Interpolates variables into a string using the #{key} syntax.
Parameters
Section titled “Parameters”string
The string to interpolate
Record<string, any>
A record of key-value pairs to replace
Returns
Section titled “Returns”string
The interpolated string