Skip to content

Packages  ›  trotsky  ›  StepStarterPacks  ›  each

StepStarterPacks.each() method

Appends a new starter pack entry step to the current list and returns it.

Signature:

typescript
each(iterator?: StepBuilderListIterator): StepStarterPacksEntry<this>;

Parameters

Parameter

Type

Description

iterator

StepBuilderListIterator

(Optional) Optional iterator function to be executed for each item in the list.

Returns:

StepStarterPacksEntry<this>

The newly appended StepStarterPacksEntry instance.