Packages › trotsky › StepPosts › each
StepPosts.each() method
Appends a new post entry step to the current list and returns it.
Signature:
typescript
each(iterator?: StepBuilderListIterator): StepPostsEntry<this>;
Parameters
Parameter | Type | Description |
---|---|---|
iterator | (Optional) Optional iterator function to be executed for each item in the list. |
Returns:
StepPostsEntry<this>
The newly appended StepPostsEntry instance.