Represents the callback used by the isValid and validate properties of a step.

Receives the index of the step as an argument.

We recommend using an arrow function for the callback to capture the this execution context of the current class.

stepCallback = (index: number): boolean => {
  return index === 3;

In this article

Not finding the help you need?