Interface MapCallback<V, K, R>
Type parameters
-
V = any
-
K = number | string
-
R = any
Callable
- MapCallback(value: V, key: K, iteratedObject: V[] | Set<V> | Map<K, V> | PlainObject<V> | Iterable<V>): R
-
Parameters
-
value: V
-
key: K
-
iteratedObject: V[] | Set<V> | Map<K, V> | PlainObject<V> | Iterable<V>
Returns R
Is called for every element of the iterated object