Skip to content

five-on-it / packages/missions/src/expressions / fillText

Function: fillText() ​

fillText(text, counter): string

Defined in: packages/missions/src/expressions.ts:203

A text with each {counter:<id>} replaced by the counter's value.

Parameters ​

text ​

string

counter ​

(id) => number

Returns ​

string