▸ Const
invokeEach(arr
: any, args?
: any[]): void
A forEach that calls each element with provided arguments.
remarks
This implementation loops in reverse order.
#
Parameters:Name | Type | Default value | Description |
---|---|---|---|
arr | any | - | The input array-like to loop through. |
args | any[] | [] | The arguments to call each element with. |
Returns: void
void
Defined in: unsafe/array/invokeEach.ts:15