StepPredicateFn
Function
StepPredicateFn
type
Represents the callback function used by the isValid and validate properties of a step.
The function receives the index of the step as an argument.
Use an arrow function for the callback to capture the this execution context of the current class.
TS
public stepCallback = (index: number): boolean => {
return index === 3;
}