Constructor
new SequentialText(textFormat, startValue)
- Description:
- Constructs a sequential text generator instance.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
textFormat |
string | The format string, default is "{0}". |
startValue |
number | The starting number, default is 1. |
Classes
Methods
close()
- Description:
- Closes the generator and cleans up internal state.
- Source:
next() → {string}
- Description:
- Returns the next generated formatted string.
- Source:
Returns:
- Type
- string
reset()
- Description:
- Resets the generator state so iteration starts over from startValue.
- Source: