- zipMap<T, U, V>(left: T[], right: U[], fn: ((t: T, u: null | U, i: number) => V)): V[]
-
Parameters
-
left: T[]
-
right: U[]
-
fn: ((t: T, u: null | U, i: number) => V)
-
- (t: T, u: null | U, i: number): V
-
Parameters
-
t: T
-
u: null | U
-
i: number
Returns V
Returns V[]
Zips two arrays together, using the provided function to map the values.