Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 462 Bytes

polyethylene.indexedmapping.md

File metadata and controls

13 lines (8 loc) · 462 Bytes

Home > polyethylene > IndexedMapping

IndexedMapping type

A function that receives an object (elem) and its index in the iteration and returns a different object

Signature:

export declare type IndexedMapping<T, U> = (elem: T, index: number) => U;