UNPKG

@rg-software/angular-archwizard

Version:
22 lines (21 loc) 642 B
import { WizardStep } from './wizard-step.interface'; import { StepIndex } from "./step-index.interface"; import { StepOffset } from "./step-offset.interface"; /** * An unique identifier of a wizard step * * @author Marc Arndt */ export interface StepId { /** * The id of the destination step */ stepId: string; } /** * Checks whether the given `value` implements the interface [[StepId]]. * * @param value The value to be checked * @returns True if the given value implements [[StepId]] and false otherwise */ export declare function isStepId(value: WizardStep | StepId | StepIndex | StepOffset): value is StepId;