map-indexed-xf
This module defines a function that returns a transducer which calls a given function with each value and its index. This transducer may be used with Javascript transducer libraries such as jlongster/transducers.js and cognitect-labs/transducers-js.
Example
const t = ;const mapIndexed = ; const result = t; console; // [[0, 50], [1, 60], [2, 70]]
Types
TypeScript type definitions for this module are included! The type definitions won't require any configuration to use.