- forEachRight<T>(collection: T[], iteratee?: ArrayIterator<T, any>): T[]
Parameters
- collection: T[]
Optional
iteratee: ArrayIterator<T, any>
Returns T[]
- forEachRight(collection: string, iteratee?: StringIterator<any>): string
Parameters
- collection: string
Optional
iteratee: StringIterator<any>
Returns string
- forEachRight<T>(collection: List<T>, iteratee?: ListIterator<T, any>): List<T>
Parameters
- collection: List<T>
Optional
iteratee: ListIterator<T, any>
Returns List<T>
- forEachRight<T extends object>(
collection: T,
iteratee?: ObjectIterator<T, any>,
): T Parameters
- collection: T
Optional
iteratee: ObjectIterator<T, any>
Returns T
- forEachRight<T, TArray extends undefined | null | T[]>(
collection: TArray & (undefined | null | T[]),
iteratee?: ArrayIterator<T, any>,
): TArray Type Parameters
- T
- TArray extends undefined | null | T[]
Parameters
- collection: TArray & (undefined | null | T[])
Optional
iteratee: ArrayIterator<T, any>
- forEachRight<TString extends undefined | null | string>(
collection: TString,
iteratee?: StringIterator<any>,
): TString Type Parameters
- TString extends undefined | null | string
Parameters
- collection: TString
Optional
iteratee: StringIterator<any>
- forEachRight<T, TList extends undefined | null | List<T>>(
collection: TList & (undefined | null | List<T>),
iteratee?: ListIterator<T, any>,
): TList Type Parameters
- T
- TList extends undefined | null | List<T>
Parameters
- collection: TList & (undefined | null | List<T>)
Optional
iteratee: ListIterator<T, any>
- forEachRight<T extends object>(
collection: undefined | null | T,
iteratee?: ObjectIterator<T, any>,
): undefined | null | T Parameters
- collection: undefined | null | T
Optional
iteratee: ObjectIterator<T, any>
Returns undefined | null | T
This method is like _.forEach except that it iterates over elements of collection from right to left.