Maps over an array with index.
mapWithIndex((x, i) => x + i)(['a', 'b']) // ['a0', 'b1'] Copy
mapWithIndex((x, i) => x + i)(['a', 'b']) // ['a0', 'b1']
Generated using TypeDoc
Maps over an array with index.