Methods
(generator) SequentialText.(textFormat, startValue) → {string}
- Description:
- Generator that produces an infinite sequence of formatted strings using a number. Example: "{0}" → "1", "2", "3", ...
- Source:
Parameters:
Name | Type | Description |
---|---|---|
textFormat |
string | A string template, e.g., "{0}" or "Step {0}". |
startValue |
number | The initial numeric value. |
Yields:
Formatted strings.
- Type
- string