- forEachRight<T>(
collection?: ArrayLike<T>,
iteratee?: ArrayIteratee<T, void>,
): void Parameters
Optional
collection: ArrayLike<T>Optional
iteratee: ArrayIteratee<T, void>
Returns void
Returns collection
.
- forEachRight<T>(
collection?: PlainObject<T>,
iteratee?: RecordIteratee<T, void>,
): void Parameters
Optional
collection: PlainObject<T>Optional
iteratee: RecordIteratee<T, void>
Returns void
Returns collection
.
This method is like
forEach
except that it iterates over elements ofcollection
from right to left.