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