▸ Const
each(arr
: any, cb
: ArrayCB): void
A non-spec compliant fast Array forEach.
remarks
This implementation loops in reverse order.
#
Parameters:Name | Type | Description |
---|---|---|
arr | any | The input array-like to loop through. |
cb | ArrayCB | The callback provided. This iteratee is invoked with three arguments: value, index|key, and arr. |
Returns: void
void
Defined in: unsafe/array/each.ts:15