docs/polyethylene.indexedmapping.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [polyethylene](./polyethylene.md) > [IndexedMapping](./polyethylene.indexedmapping.md)
## IndexedMapping type
A function that receives an object (`elem`<!-- -->) and its `index` in the iteration and returns a different object
<b>Signature:</b>
```typescript
export declare type IndexedMapping<T, U> = (elem: T, index: number) => U;
```