@unction/mapvalueswithvaluekey
TypeScript icon, indicating that this package has built-in type declarations

10.13.0 • Public • Published

@unction/mapValuesWithValueKey

Tests Stability Dependencies

MapperFunctionType<A, MapperFunctionType<B, C>> => Array | Set | Record<string | number | symbol, B> | Map<B, A> | string => Array | Set | Record<string | number | symbol, B> | Map<C, B> | string

Just like map, but gives back the index argument (as an integer, not a string if array)

Readme

Keywords

Package Sidebar

Install

npm i @unction/mapvalueswithvaluekey

Weekly Downloads

127

Version

10.13.0

License

SEE LICENSE IN LICENSE

Unpacked Size

22.4 kB

Total Files

7

Last publish

Collaborators

  • krainboltgreene