Packages › trotsky › StepBuilder › slice
StepBuilder.slice() method
Adds a step to the sequence.
Signature:
typescript
slice(stepOrIndex: Step<this> | number): this;
Parameters
Parameter | Type | Description |
---|---|---|
stepOrIndex | Step<this> | number | The step instance or index to remove. |
Returns:
this
The current StepBuilder instance.