Functionstep

  • Type Parameters

    • T

    Parameters

    • title: string
    • logic: ((index: number, title: string, end: boolean) => T)
        • (index, title, end): T
        • Parameters

          • index: number
          • title: string
          • end: boolean

          Returns T

    • Optionalreset: boolean

    Returns T