You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Map an array element distributing the currency value with the array element. See [distribute](#distribute)
90
+
91
+
#### Parameters
92
+
93
+
##### `arrayToDistribute`
94
+
The array to distribute the value to.
95
+
96
+
##### `callbackFn`
97
+
A function to execute for each element in the array and its own distribution. Its return value is added as a single element in the new array. The function is called with the following arguments:
98
+
99
+
> `element`
100
+
> The current element being processed in the array.
101
+
> `distributionElement`
102
+
> The current distribution element corresponding to the `element`.
103
+
> `index`
104
+
> The index of the current element being processed in the array.
105
+
> `array`
106
+
> The `arrayToDistribute` use on the whole distribution.
107
+
108
+
##### `thisArg`*optional*
109
+
A value to use as `this` when executing `callbackFn`.
0 commit comments