Type Parameters

  • T

Hierarchy

  • Model

Methods

  • Parameters

    • callbackfn: ((previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T)
        • (previousValue: T, currentValue: T, currentIndex: number, array: T[]): T
        • Parameters

          • previousValue: T
          • currentValue: T
          • currentIndex: number
          • array: T[]

          Returns T

    Returns T

  • Parameters

    • callbackfn: ((previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T)
        • (previousValue: T, currentValue: T, currentIndex: number, array: T[]): T
        • Parameters

          • previousValue: T
          • currentValue: T
          • currentIndex: number
          • array: T[]

          Returns T

    • initialValue: T

    Returns T

  • Type Parameters

    • U

    Parameters

    • callbackfn: ((previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U)
        • (previousValue: U, currentValue: T, currentIndex: number, array: T[]): U
        • Parameters

          • previousValue: U
          • currentValue: T
          • currentIndex: number
          • array: T[]

          Returns U

    • initialValue: U

    Returns U