Packages › trotsky › Step › clone
Step.clone() method
Clones the current step and returns a new instance with the same parameters.
Signature:
typescript
clone(...rest: unknown[]): this;
Parameters
Parameter | Type | Description |
---|---|---|
rest | unknown[] | Additional parameters to pass to the constructor. |
Returns:
this
A new StepActor instance.