Parameters
- collection: undefined | null | T[]
- callback: MemoListIterator<T, TResult, T[]>
- accumulator: TResult
The accumulated value.
Parameters
- collection: undefined | null | List<T>
- callback: MemoListIterator<T, TResult, List<T>>
- accumulator: TResult
Parameters
- collection: undefined | null | T
- callback: MemoObjectIterator<T[keyof T], TResult, T>
- accumulator: TResult
reduceRight<T>( collection: undefined | null | T[], callback: MemoListIterator<T, T, T[]>,): undefined | T Parameters
- collection: undefined | null | T[]
- callback: MemoListIterator<T, T, T[]>
Returns undefined | T
reduceRight<T>( collection: undefined | null | List<T>, callback: MemoListIterator<T, T, List<T>>,): undefined | T Parameters
- collection: undefined | null | List<T>
- callback: MemoListIterator<T, T, List<T>>
Returns undefined | T
reduceRight<T extends object>( collection: undefined | null | T, callback: MemoObjectIterator<T[keyof T], T[keyof T], T>,): undefined | T[keyof T] Parameters
- collection: undefined | null | T
- callback: MemoObjectIterator<T[keyof T], T[keyof T], T>
Returns undefined | T[keyof T]
This method is like _.reduce except that it iterates over elements of a collection from right to left.