Home > polyethylene > IndexedMapping
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;
Home > polyethylene > IndexedMapping
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;