angular-archwizard
Version:
An Angular 9+ module containing a wizard component and its supporting components and directives
21 lines (20 loc) • 603 B
TypeScript
/**
* An index of a wizard step.
* This index is the index of the step inside the wizard.
* The index is always zero based, i.e. the step with index 0 is the first step of the wizard
*
* @author Marc Arndt
*/
export interface StepIndex {
/**
* The index of the destination step
*/
stepIndex: number;
}
/**
* Checks whether the given `value` implements the interface [[StepIndex]].
*
* @param value The value to be checked
* @returns True if the given value implements [[StepIndex]] and false otherwise
*/
export declare function isStepIndex(value: any): value is StepIndex;