Takaro - v0.4.11
    Preparing search index...

    Function reduceRight

    • This method is like _.reduce except that it iterates over elements of a collection from right to left.

      Type Parameters

      • T
      • TResult

      Parameters

      • collection: T[] | null | undefined

        The collection to iterate over.

      • callback: MemoListIterator<T, TResult, T[]>

        The function called per iteration.

      • accumulator: TResult

        Initial value of the accumulator.

      Returns TResult

      The accumulated value.

    • Type Parameters

      • T
      • TResult

      Parameters

      • collection: List<T> | null | undefined
      • callback: MemoListIterator<T, TResult, List<T>>
      • accumulator: TResult

      Returns TResult

      _.reduceRight

    • Type Parameters

      • T extends object
      • TResult

      Parameters

      • collection: T | null | undefined
      • callback: MemoObjectIterator<T[keyof T], TResult, T>
      • accumulator: TResult

      Returns TResult

      _.reduceRight

    • Type Parameters

      • T

      Parameters

      • collection: T[] | null | undefined
      • callback: MemoListIterator<T, T, T[]>

      Returns T | undefined

      _.reduceRight

    • Type Parameters

      • T

      Parameters

      • collection: List<T> | null | undefined
      • callback: MemoListIterator<T, T, List<T>>

      Returns T | undefined

      _.reduceRight

    • Type Parameters

      • T extends object

      Parameters

      • collection: T | null | undefined
      • callback: MemoObjectIterator<T[keyof T], T[keyof T], T>

      Returns T[keyof T] | undefined

      _.reduceRight