Appearance
Packages › trotsky › Step › when
Adds a StepWhen step.
Signature:
when(predicate: Resolvable<StepWhenPredicate>): this;
Parameter
Type
Description
predicate
Resolvable<StepWhenPredicate>
The predicate function.
Returns:
this
The current Step instance.