▸ mapLeft(arr
: ArrayLike, cb
: ArrayCB): unknown[]
A non-spec compliant fast Array map.
remarks
This implementation loops "normally," in normal order.
#
Parameters:Name | Type | Description |
---|---|---|
arr | ArrayLike | The input array-like to map through. |
cb | ArrayCB | The callback provided to produce mapped results. This iteratee is invoked with three arguments: value, index|key, and arr. |
Returns: unknown[]
unknown[] - The new mapped array.
Defined in: unsafe/array/mapLeft.ts:15